Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. erm......it work fine for me... Initial Load without any configuration ...and npc work fine ( except mapname since i dont have the royal_room map ) item show NULL because the item ID 0 is not exists ... Second ... using a GM Character..and input all the settings that is required. in this cases : Reward - TCG / Poring - 10 / Special Poring - 10 Third I started the Game by click on the START Event in the Menu. and information of the scripts is displayed. Last When i killed those poring....it will display the Poring that left .... when i killed the Special Poring..i get 1 TCG Card. in this case : Amistry got a TCG Card! from the start until the end..i didnt get any error... and i using latest rAthena. the only part i edit ...Map Name or i could be my method is not enough to try to duplicate your problems...so you may tell us how you make this work until it show you the error message / problems.
  2. instead of using the function calling method....you can use these *donpcevent "{NPC NAME}::<event label>"; This command invokes the event label code within an another NPC or NPCs. If event label has the form "NpcName::OnLabel", then only given NPC's event label will be invoked (much like 'goto' into another NPC). If the form is "::OnLabel" (NpcName omitted), the event code of all NPCs with given label will be invoked, one after another. In both cases the invoked script will run without an attached RID, whether or not the invoking script was attached to a player. The event label name is required to start with On. *doevent "<NPC object name>::<event label>"; This command will start a new execution thread in a specified NPC object at the specified label. The execution of the script running this command will not stop. No parameters may be passed with a doevent call. The script of the NPC object invoked in this manner will run as if it's been invoked by the RID that was active in the script that issued a 'doevent'.
  3. if i was right...then the problem is because of the scritp compare an string with a integer.. and this question has been answered several times in forum ... just need to change the compare part to compare the integer as a string... use search engine next time~ ^^
  4. try this. http://upaste.me/017b3951032a4d6 if your players able to abuse it by relogging to reset the delay count...then you just change the variable for delay into character permanent variable. but if you are using short delay..i think it is okay..since not all players are willing to keep relog after killed a character to gain 1 points. @gertrude remember to end the process of OnInit...otherwise it might return some error after you loaded it. if(@cashpkillid != killedrid || @cashpkilltime + @cashpkilldelay < gettimetick(2)) { and i think it is better to use && instead of ||
  5. try this http://pastebin.com/raw.php?i=387ju2Cx erm...i think i have posted this in forum before...maybe not..nvm...... you only need to edit this line // ExchangeCard( "<ItemID | Variable>",<Normal>,<MiniBoss>,<MVP> ); ExchangeCard( "Zeny",5,500,5000 ); since you want it to be TCG...then just replace the Zeny with 7227 .... and the value behind it is the TCG they will get for those cards. oh ya....make sure you check at this part also...add in the other mvp / miniboss / restricted card id here function DetermineCard { // Restricted Card setarray .@CardLists,4001,4002,4003,4004; for( set .@i,0; .@i < getarraysize( .@CardLists ); set .@i,.@i + 1 ) if( getarg(0) == .@CardLists[.@i] ){ mes "This Card is Forbidden."; close; } // MVP Card setarray .@CardLists,4342,4359,4357,4361,4363,4365,4367; for( set .@i,0; .@i < getarraysize( .@CardLists ); set .@i,.@i + 1 ) if( getarg(0) == .@CardLists[.@i] ) return 3; // MiniBoss setarray .@CardLists,4197,4211,4201,4188,4183,4184; for( set .@i,0; .@i < getarraysize( .@CardLists ); set .@i,.@i + 1 ) if( getarg(0) == .@CardLists[.@i] ) return 2; // Others return 1; }
  6. make sure the Main NPC inside the guild folder is loaded so that the rest of the duplicated npc for each of these main npc can be loaded. i guess you just disabled the certain npc load files....
  7. erm..try this ? http://upaste.me/88473946eb3e20f not really sure did it suit with what you want.. coz in your script...... alot syntax are not found in rAthena ? or just you add it at your own previously ? setdragon ?? O.O Anyway...in your script...if i was right...it is just the curley bracket problems.... there is so many curley bracket in your script which make you missed some of the bracket..... however, there could be other problem also...
  8. Emistry

    Playtime NPC

    i dont think there is a way for this...we cant calculate how long a players has been online for the past 2 month... we wont know how long they have online during the 2 month...
  9. Nope..xD now the forum is fixed for me.. no more unloadable images problem ^^
  10. that's why i ask him to configure the setting of the NPC using a GM....
  11. it is the same..just edit the duration part of your script....
  12. you have to use a GM char to configure the NPC before the event start... everytime you reloadscript / restart ....make sure you re-configure the NPC
  13. http://rathena.org/board/forum-30/announcement-9-scripting-support-easy-as-1-2-3/ LOL..what your problems...? ==''
  14. OnInit: while( 1 ){ delwaitingroom; waitingroom "PVP : "+getmapusers("prontera")+" Users",0; sleep 1000; } end;
  15. try this OnAgitStart: killmonster "poring_w01","All"; mapwarp "poring_w01","prontera",155,181; announce "Poring Event End because of WOE started.",0; end;
  16. edit ur SQL file in your PhpMyAdmin / MySQl ?
  17. http://rathena.org/wiki/Waitingroom waitingroom "There are : "+getusers(1)+" Players Currently Connected",0;
  18. are you sure ? in my script..i didnt use any getmapusers and ur errror...is related with something like @minsterignore in ur own script map named "1" is not exist..please use a propre name in your script
  19. try this http://upaste.me/6a2f3905a2be35b
×
×
  • Create New...