Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. getitem 2404,1: change to getitem 2404,1;
  2. mes "Next Hour " + $floatingrate;
  3. set .@count, query_sql("SELECT `char_id`,`name` FROM `char` WHERE `account_id` = "+getcharid(3),.@charid,.@charname$); change to set .@count, query_sql("SELECT `char_id`,`name` FROM `char` WHERE `last_map` <> 'sec_pri' AND `account_id` = "+getcharid(3),.@charid,.@charname$);
  4. https://rathena.org/board/files/file/3269-server-database-editor/
  5. use tab for ur function header, not spaces.
  6. the quest_db.txt data are not loaded in ur server.
  7. your clientinfo isn't loaded or overwritten by other clientinfo your account id is not matched with the id in clientinfo
  8. you can try this. https://pastebin.com/jRGet5Pk
  9. ^ happen to me almost everyday .... your solution ..... * and ... why cant I quote the posts from that topic .. LOL
  10. 1. if (#CASHPOINTS < 33) goto nocash; 2. atcommand "@stpoint 2597"; change to StatusPoint = 2597;
  11. OnAtcommand: input .itemid; input .amount; announce "Item Shower !",0; addrid(0); getitem .itemid, .amount; end;
  12. OnAtcommand: input .@itemid; input .@amount; getitem .@itemid, .@amount; announce "Item Shower !",0; end; change to OnAtcommand: input .@itemid; input .@amount; announce "Item Shower !",0; addrid(0); getitem .@itemid, .@amount; end;
  13. query_sql("DELETE FROM `char_reg_num`.............. Whenever the table involve these char_reg or acc_reg tables, the query will only affect those who are currently offline. Players who are still online during you execute this query are not affected because when they offline, the char_reg and acc_reg value get overwritten by the value stored in server. You have to attach all online player and update the these variables. You may also consider use the npc scope variable in your npc script in future. You wont have to reset each variables everytime you want to use them, and it help you avoid conflict in other script in case they use the same variable next time, and server wont have to save these variable data after done executing the script.
  14. there are some trick you can try .. set these map cells into non-walkable cells summon monster set these map cells back into walkable cells then warp the player to these location if you want to prevent monster from re-enter these cells, you probably need to set a wall around these cells or use the same method above, set it to non-walkable non-walkable cells should do the trick if I recall correctly.
  15. sound nice to have one ... previously we have to do it using the set + getvariableofnpc ... set(getvariableofnpc(.var, "TargetNPC"), 1); same for the shufflearray too
  16. rathena actually does provide their own image slicer ... http://rathena.sourceforge.net/tools/login_background/
×
×
  • Create New...