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
view next
Share Image
Share on Facebook Tweet Email a friend
Embed Image
pvcf AuthorOnline
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;

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
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Embed Thumb
Browse archive
Add media