Jump to content

Patskie

Members
  • Posts

    1702
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Patskie

  1. How the quest work?
  2. Mom talaga ha hindi maam? Links : https://asurahosting.com/forum/index.php?/topic/13-fluxcp-installation-for-cpanel-webhost/ http://rathena.org/board/topic/57114-how-to-install-flux-cp/
  3. Default refine npc have safe limit and max refine. You can find it here npc/merchants/refine.txt#L571 callfunc "refinemain","Aragham",0; to : callfunc "refinemain","Aragham",1; You can do this to all refine merchants. For repair npc. Try this : prontera,172,182,1 script Repairman 46,{ if ( getbrokenid(1) == 0 ){ mes "[Refiner]"; mes "You don't have anything to be repaired!"; close; } atcommand "@repairall"; dispbottom "Repaired all broken equipment."; end; }
  4. Patskie

    Rental NPC

  5. what i want to know is the script you are using. How the script store the votes.
  6. http://rathena.org/wiki/getmapusers
  7. I think this is something like this http://rathena.org/board/topic/86860-map-drop-when-kill-a-specific-monster/?p=220088
  8. Create a 24x24 picture and put it in the emblem folder?
  9. It would be good if you post this on public.
  10. Patskie

    Help in Flux

    https://github.com/calciumkid/fluxcp-renewal/tree/master/addons
  11. https://github.com/calciumkid/fluxcp-renewal/blob/master/config/servers.php#L48 set to false
  12. Perhaps you can show your console if any error occur. Working fine on me.
  13. What vote for points are you using on your website? Do you have any? If so, maybe you can show it to us to be able to help you out.
  14. Check your src/common/mmo.h#L96. Did you make any configurations regarding guild members prior to this thread?
  15. Try this one : - shop dynamicshop -1,501:20000 prontera,150,150,0 script Dynamic Shop 100,{ callshop "dynamicshop",1; npcshopattach "dynamicshop"; end; OnBuyItem: for ( set .@j, 0; .@j < getarraysize(.items); set .@j, .@j + 2 ) { for ( set .@k, 0; .@k < getarraysize(@bought_nameid); set .@k, .@k + 1 ) { if ( @bought_nameid[.@k] == .items[.@j] ) { if ( checkweight( @bought_nameid[.@k], @bought_quantity[.@k] ) ) { if ( countitem(.currency) < .items[.@j+1] ) dispbottom "You don't have enough " +getitemname(.currency)+ " to purchase this item."; else { delitem .currency, .items[.@j+1] * @bought_quantity[.@k]; getitem @bought_nameid[.@k], @bought_quantity[.@k]; } } else dispbottom "You cannot carry out more items with you"; } } } deletearray @bought_quantity, getarraysize(@bought_quantity); deletearray @bought_nameid, getarraysize(@bought_nameid); end; OnInit: set .currency, 7227; // TCG is used to buy items setarray .items, 4001,5,7227,100; // Usage : <item id>,<price> npcshopitem "dynamicshop",0,0; for ( set .@i, 0; .@i < getarraysize(.items); set .@i, .@i + 2 ) npcshopadditem "dynamicshop",.items[.@i],.items[.@i+1]; end; } Configuration : setarray .items, 4001,5,7227,100; // Usage : <item id>,<price> set .currency, 7227; // TCG is used to buy items
  16. Patskie

    @accinfo

    Well i cannot help you in this manner because i do not know how the passwords are being stored in your @security | @accinfo command. I think that is a custom script. Maybe you can share your current script or maybe you can tell me where did you get those scripts.
  17. @Yoona Show error
  18. There has been an update regarding this : http://rathena.org/board/topic/81860-r17280-slight-script-engine-update/ @Yoona : Try changing close to end
  19. Patskie

    @accinfo

    If you wouldn't mind. Can you show your current script?
  20. Try this one : prontera,150,150,0 script Sample 100,{ for ( set .@j, 1; .@j < 11; set .@j, .@j + 1 ) if ( getequiprefinerycnt(.@j) > 10 ) end; getinventorylist; for ( set .@i,0; .@i < @inventorylist_count; set .@i, .@i + 1 ) if ( @inventorylist_refine[.@i] > 10 ) end; mes "Bye ~"; warp "prontera",150,150; close; }
  21. Parang stage game ni @Emistry check mo.
  22. 1. Like this : /* CREATE TABLE IF NOT EXISTS `sample` ( `account_id` INT(11) unsigned NOT NULL DEFAULT '0', `char_id` INT(11) unsigned NOT NULL DEFAULT '0', `mob_id` INT(11) unsigned NOT NULL DEFAULT '0' ) ENGINE=MyISAM; */ - script Sample -1,{ OnNPCKillEvent: if ( !query_sql("SELECT `mob_id` FROM `sample` WHERE `mob_id` = '" +killedrid+ "'") ) query_sql "INSERT INTO `sample` VALUES ( '" +getcharid(3)+ "', '" +getcharid(0)+ "', '" +killedrid+ "' )"; end; } 2. You cannot use PHP on rAthena scripts.
  23. Try after : - script ClassHelper -1,{ OnPCLoginEvent: put : if ( countitem(7227) < 1 ) { mes "You do not have enough TCG card"; close; } delitem 7227, 1;
  24. Reference : doc/script_commands.txt#L847 OnClock<hour><minute>: OnMinute<minute>: OnHour<hour>: On<weekday><hour><minute>: OnDay<month><day>: This will execute when the server clock hits the specified date or time. Hours and minutes are given in military time. ('0105' will mean 01:05 AM). Weekdays are Sun,Mon,Tue,Wed,Thu,Fri,Sat. Months are 01 to 12, days are 01 to 31. Remember the zero.
  25. Change nameid to card id? If you got no result meaning characters doesn't have those items Here is a screenshot of mine doing the query :
×
×
  • Create New...