GM Incarnation Posted June 20, 2012 Posted June 20, 2012 Hi can anyone help me to fix this script i already try and nothing error in server. After woe finish nothing happen. http://pastebin.com/pavZfN8T Here the original post http://rathena.org/b...l__+woe +reward Here the orgininal code post: //Author : Goddameit //Version : 2011/12/16 - 01:04 function script AllGuildMemberEvent { if(!set(.@gid,getcastledata(getarg(0),1))) return; query_sql("select account_id, char_id from `guild_member` where guild_id = '"+.@gid+"'", .@gmaid, .@gmcid); for(set .@i,0;.@i<getarraysize(.@gmcid);set .@i,.@i+1) { if(isloggedin(.@gmaid[.@i])) getitem 12628,1,.@gmaid[.@i]; } } - script AGME -1,{ OnAGME: setarray .@maps$[0],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; setarray .@maps$[5],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; setarray .@maps$[10],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; setarray .@maps$[15],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; for( set .@i,0; .@i <= 19; set .@i, .@i+1) { callfunc "AllGuildMemberEvent",.@maps$[.@i],0, "System","WoE Victory Reward","Congratulations! Your guild succeeded in occupying "+ getcastlename(.@maps$[.@i]) +". This is your rewards.", 501,1,1,0, "[You got a mail!! Please relogin to reupdate your mail list.]"; } end; } And this mine : //Author : Goddameit //Version : 2011/12/16 - 01:04 function script AllGuildMemberEvent { if(!set(.@gid,getcastledata(getarg(0),1))) return; query_sql("select account_id, char_id from `guild_member` where guild_id = '"+.@gid+"'", .@gmaid, .@gmcid); for(set .@i,0;.@i<getarraysize(.@gmcid);set .@i,.@i+1) { if(isloggedin(.@gmaid[.@i])) getitem 14232,1,.@gmaid[.@i]; } } - script AGME -1,{ OnAGME: setarray .@maps$[0],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; setarray .@maps$[5],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; setarray .@maps$[10],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; setarray .@maps$[15],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; for( set .@i,0; .@i <= 19; set .@i, .@i+1) { callfunc "AllGuildMemberEvent",.@maps$[.@i],0, "System","WoE Victory Reward","Congratulations! Your guild succeeded in occupying "+ getcastlename(.@maps$[.@i]) +". This is your rewards.", 501,1,1,0, "[You got a mail!! Please relogin to reupdate your mail list.]"; } end; } Quote
QQfoolsorellina Posted June 22, 2012 Posted June 22, 2012 try to replace OnAGME: with OnAgitEnd: Quote
GM Incarnation Posted June 22, 2012 Author Posted June 22, 2012 Hi anyone can fix this problem. Any senior can fix this problem. Pls help me to fix this script thx Quote
GM Incarnation Posted June 23, 2012 Author Posted June 23, 2012 Noted i will revert if script can running Quote
Question
GM Incarnation
Hi
can anyone help me to fix this script i already try and nothing error in server. After woe finish nothing happen.
http://pastebin.com/pavZfN8T
Here the original post
http://rathena.org/b...l__+woe +reward
Here the orgininal code post:
And this mine :
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.