FearlesS 1 Posted April 11, 2016 \src\map\skill.c(6912) show me this line. @@FearlesS int needed = skill->dbs->db[skill_id].itemid[x]; Quote Share this post Link to post Share on other sites
Kubix 83 Posted April 11, 2016 \src\map\skill.c(6912) show me this line. @@FearlesS int needed = skill->dbs->db[skill_id].itemid[x]; Send me your skill.c Quote Share this post Link to post Share on other sites
FearlesS 1 Posted April 11, 2016 http://www.mediafire.com/download/9yq052ddtgpb5pj/skill.c here is my skill.c Quote Share this post Link to post Share on other sites
Easycore 31 Posted April 11, 2016 @@Kubix what is your server? is it live? i wanna try how your BG Works. Not alive, still working on it. But you can try. I'll send you link in PM. Upd: you can't receive more messages. I would also play it Quote Share this post Link to post Share on other sites
Valaris 0 Posted April 11, 2016 I had a look at some of your other stuff and you are awesome! I tried setting this up on a local server but couldn't get it to work @_@ oh well You have some errors? Hm yes, in bg_register.txt, the error I get in console is - script error in file bg_register.txt line 38 column 60, parse_subexpr: need ':' And this is line 38. " get_uniqueid() " is the part in question. if( qiget(.@qid1) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) || qiget(.@qid2) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) ) Hi, i have the same problem. I changed Set variable .MultipleCheck 1 to 2 and the problem continues. Quote Share this post Link to post Share on other sites
2020 Ragnarok 0 Posted April 12, 2016 where will i put the src? i got lost at that part. Thanks in advance Quote Share this post Link to post Share on other sites
bWolfie 139 Posted April 12, 2016 where will i put the src? i got lost at that part. Thanks in advance Instructions are in bg_rewrite.c. I had a look at some of your other stuff and you are awesome! I tried setting this up on a local server but couldn't get it to work @_@ oh well You have some errors? Hm yes, in bg_register.txt, the error I get in console is - script error in file bg_register.txt line 38 column 60, parse_subexpr: need ':' And this is line 38. " get_uniqueid() " is the part in question. if( qiget(.@qid1) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) || qiget(.@qid2) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) ) Hi, i have the same problem. I changed Set variable .MultipleCheck 1 to 2 and the problem continues. This is the error log. @@Kubix I think you got yourself in a world or trouble posting this haha this is perhaps the most sought after coding in the emulator community. Quote Share this post Link to post Share on other sites
Kubix 83 Posted April 12, 2016 This is Gepard Shield script command. I will update the script today. Quote Share this post Link to post Share on other sites
FearlesS 1 Posted April 14, 2016 ../map/battleground.h:98: error: expected ‘)’ before ‘key’ ../map/battleground.h:99: error: expected ‘;’ before ‘void’ how to fix this error? Quote Share this post Link to post Share on other sites
Kubix 83 Posted April 14, 2016 Script updated. Disabled Gepard Shield check. Quote Share this post Link to post Share on other sites
Valaris 0 Posted April 15, 2016 Now it works perfect for me. When compiling get the following warning: CC battleground.c battleground.c: In function ‘bg_team_rewards’: battleground.c:114:28: warning: declaration of ‘bg’ shadows a global declaration [-Wshadow] struct battleground_data *bg; ^ battleground.c:55:32: warning: shadowed declaration is here [-Wshadow] struct battleground_interface *bg; ^ battleground.c: In function ‘bg_team_getitem’: battleground.c:295:28: warning: declaration of ‘bg’ shadows a global declaration [-Wshadow] struct battleground_data *bg; ^ battleground.c:55:32: warning: shadowed declaration is here [-Wshadow] struct battleground_interface *bg; ^ battleground.c: In function ‘bg_team_get_kafrapoints’: battleground.c:322:28: warning: declaration of ‘bg’ shadows a global declaration [-Wshadow] struct battleground_data *bg; ^ battleground.c:55:32: warning: shadowed declaration is here [-Wshadow] struct battleground_interface *bg; ^ No errors when i play BG. Nice work! Quote Share this post Link to post Share on other sites
Kubix 83 Posted April 15, 2016 @@Valaris what a revision of your hercules? Quote Share this post Link to post Share on other sites
Valaris 0 Posted April 16, 2016 0ed2d09e9aa88af01698707fd701363bdbd92b4b Thanks! Quote Share this post Link to post Share on other sites
FearlesS 1 Posted April 16, 2016 Item reward npc / BG mall npc is not clickable.. Quote Share this post Link to post Share on other sites
Kubix 83 Posted April 16, 2016 Item reward npc / BG mall npc is not clickable.. Some errors? Do you add item_db2.conf? Quote Share this post Link to post Share on other sites
FearlesS 1 Posted April 16, 2016 no errors in item_db2.conf but while compiling code there is lots of warning.. Quote Share this post Link to post Share on other sites
Kubix 83 Posted April 16, 2016 upd. added mob_db and mob_avail, sorry. Quote Share this post Link to post Share on other sites
Valaris 0 Posted April 17, 2016 Its posible to make a NPC with a chat room for the register? Quote Share this post Link to post Share on other sites
Kubix 83 Posted April 18, 2016 Its posible to make a NPC with a chat room for the register? use standart BGs with chatroom o.O 1 Triedge reacted to this Quote Share this post Link to post Share on other sites
Kubix 83 Posted April 18, 2016 up: Added variables for rewards Added variable for Flavius Score Quote Share this post Link to post Share on other sites
evilpuncker 504 Posted April 19, 2016 what is the status of plugin version? Quote Share this post Link to post Share on other sites
Kubix 83 Posted April 19, 2016 what is the status of plugin version? sorry, i don't have time for learn plugins now. but i will create later. 2 evilpuncker and Triedge reacted to this Quote Share this post Link to post Share on other sites
Triedge 12 Posted April 19, 2016 what is the status of plugin version? sorry, i don't have time for learn plugins now. but i will create later. i like soo much without plugin T-T! Quote Share this post Link to post Share on other sites
ρixєℓ 21 Posted April 23, 2016 (edited) Solved, sorry. Edited April 23, 2016 by ρixєℓ Quote Share this post Link to post Share on other sites