Five Elite Mercenaries are send to an Island in middle of the 1980'. The Task: Find and Eliminate a local Drug Baron. Features: new Physic, real Sunmovement, Day/Night Change, Hunger/Food system, realistic (!) Weather system, Light/Dark viewing system for AI, 5 different Fractions on the Island. Complete Realistic simulation of nearly all things, including Sleep. New weapons, new Vehicles. Vehicles driving system is now exact (!) like GTA IV , FireSystem,... this mod is Heavily inspired by GTA, IGI, FarCry.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
FarCry0254
embed
share
view previous next
Share Image
Share on Facebook Post Email a friend
Embed Image
Post comment Comments
pvcf Author
pvcf - - 4,939 comments

Youtu.be
still not dead, working really very hard every day on it, but, i found every day new bugs, even sometimes some critical cryengine bugs which are inside since 11 years and which can and will break the complete game with crash to desktop or the one which i discovered today:

you know the common.lua function "append" ? (it basically adds data to a existent table).

function append(_table, item)
---we add it on last position
local i=count(_table) + 1;
_table[i]= item;
end

Buggy, because if table have only one entry, lets say 2= data, and you add item "newdata", the table count is 1, then 1+1 = 2, so the entry 2 = data will
be overwritten with 2 = "newdata".. i go slowly crazy, i need hours of hours and days to find out why sometimes some things dont work like expected, (in my case weapon ID's from loot table from inventory menu simply disappeared...).
****, this **** makes developing so endless hard.
will recode this function to some thrustworthier -.-
(but i have still no direct idea how, i think with something like compare table entries and resort **** in a for i, loop :( )

and this is how this bug show up in game:
watch how i first take the sleepingback, throw it back, and then try to do the same with m4.
you will see that the m4 simply "overwrites" the sleepingback without no reason!
its the "broken" count-routine in append table function! because the data from m4 is removed, the table count is decreased by 1, so adding then the m4 data again, the last count, which is sleepingback, will be overwritten by m4. (to be fair: i do really dirty things with tables here, all the time, just to make this inventory menu possible, cryengine1.4 was never designed to do this what you see here)

its not only to know there is a bug, i need endless hours to write test and check routines to find the bugs, locate them in code and THEN i can try to debug them.
man, this is so silly sometimes.

Reply Good karma+3 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: