Compile Error !

vBrenth

New member
Messages
391
Points
0
Age
35
Location
Philippines
Discord
Brenth
Github
vBrenth
Emulator
Client Version
RE
I modified something on skill.c and well i can compile it w/o error on windows but this appears on Linux help..

2eat07m.png


skill.c (lines)

5152 ~>

if( dstmd && mob_is_battleground(dstmd) ) heal = 1;
6680 ~>

if( dstmd && mob_is_battleground(dstmd) ) hp = 1;
7432 ~>

if( rnd() % 100 > skill_lv * 8 || (dstmd && ((dstmd->guardian_data && dstmd->class_ == MOBID_EMPERIUM) || mob_is_battleground(dstmd))) ) { if( sd )
11510 ~>

if( md && mob_is_battleground(md) ) heal = 1;
status.c (lines) [ i didn't modified this but it gives error ]

6761 ~>

if(md && (md->class_ == MOBID_EMPERIUM || mob_is_battleground(md)) && type != SC_SAFETYWALL && type != SC_PNEUMA) return 0; //Emperium/BG Monsters can't be afflicted by status changes
And so i can still start the server but every 5 minutes the map-server will crash. AND THIS IS THE GDB Logs (please help)

2afl5iu.png


~> script.c 3810 and 4028 ( i didn't modified this things also the npc.c 554 lines)

 
This is my skill.c (can't post it on upaste and pastebin because the filesize it too large)

http://newragna.net/herc/skill.c

And the skill the crashing my server (well im not sure) but everytime i type @joinbg it crashed it.

http://newragna.net/herc/bg_common.txt
Trying to copy eamod bg?? Maybe you should remove bg_common.txt, since its eAmod copyright... Its too much pain to see what you edited in skill.c wih full file.....

maybe i, or someone else will be working on new bg , similar to eamod soon.... maybe till end of this month...

 
NO need to remove since i have the license, well yes.

Were working on eABG ~> Hercules. Im almost 80% done server run w/o error but everytime i type @joinbg it crashed.

 
Back
Top