Aeromesi 180 Posted December 21, 2013 I have a source edit that isn't compiling right but it compiles right on eAthena. //Useage: partyinvite <party id>;BUILDIN_FUNC(partyinvite){int party_id,i = 0;struct map_session_data *sd = script_rid2sd(st ); struct party_data *p; party_id=script_getnum(st,2); p = party_search(party_id); if (p ) //Search leaderfor(i = 0; i < MAX_PARTY && !p->party.member[i].leader; i++); if (!p || i == MAX_PARTY) return 0;if(!sd) return 0;sd->party_joining = 1; sd->party_invite = party_id;sd->party_invite_account = p->party.member[i].account_id; if( party_member_added(party_id,sd->status.account_id,sd->status.char_id,0) )script_pushint(st,1);elsescript_pushint(st,-1);return 0;} Any help please? thanks. Now I have also added in the DEF'S also, but it still compiles with an error. And I have no idea why :/ I seriously need a helping hand with this... >_< Quote Share this post Link to post Share on other sites
0 ossi0110 200 Posted December 21, 2013 I seriously need a helping hand with this... >_< Then you rly should post the Compiling errors ypu get Quote Share this post Link to post Share on other sites
0 Aeromesi 180 Posted December 21, 2013 In hercules where are the compiling errors logged? Quote Share this post Link to post Share on other sites
0 pan 87 Posted December 21, 2013 (edited) When you're building those errors are recorded in your compiler log, well I modified it a little bit but I haven't tested in-game, I hope it works http://pastebin.com/NNkJL21J Edited December 21, 2013 by pan Quote Share this post Link to post Share on other sites
0 Aeromesi 180 Posted December 21, 2013 Yes but on my vps when it errors, the compiler just closes out too fast on me. Pan I shall try this and see what happens Quote Share this post Link to post Share on other sites
0 pan 87 Posted December 21, 2013 (edited) Well, probably those errors that have happened are because some functions are called differently in Hercules, because its plugin module changed them, in short time using Hercules' source you'll get used to it, or you could just ask for ports in Source Request session c: Edited December 25, 2013 by pan Quote Share this post Link to post Share on other sites
I have a source edit that isn't compiling right but it compiles right on eAthena.
Any help please? thanks.
Now I have also added in the DEF'S also, but it still compiles with an error. And I have no idea why :/
I seriously need a helping hand with this... >_<
Share this post
Link to post
Share on other sites