Jump to content

LearningRO

Members
  • Posts

    722
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by LearningRO

  1. in mmo.hpp change maxguild into #define MAX_GUILDSKILL 17
  2. - script go_mall -1,{ OnInit: bindatcmd "mall",strnpcinfo(3)+"::Ongomallcom"; bindatcmd "market",strnpcinfo(3)+"::Ongomallcom"; bindatcmd "turbo_room",strnpcinfo(3)+"::Ongomallcom"; end; Ongomallcom: if (getmapflag(strcharinfo(3),mf_pvp)||getmapflag(strcharinfo(3),mf_gvg)) end; warp "turbo_room",99,111; end; }
  3. just disable it that commadn on pvp/gvg map if (getmapflag(strcharinfo(3),mf_pvp)||getmapflag(strcharinfo(3),mf_gvg)) end;
  4. just Add this script when player finish the instance setd #INSTANCEPOINTS, #INSTANCEPOINTS+ 100;
  5. coz skyzone didnt give full file for this theme he missing/forget on addons Folder for this theme just PM him on discord and he will help you
  6. Hi how to fix this issue? in Act Edtor have good position but in game not
  7. when i use with anchor will be fit but i guess the sprite job get smaller too? its okay? i mean its only happen on Act editor?
  8. rathena can be script like this????? I never know about that ahhaha
  9. hey, i know that script its only to make it bigger than original but cannot make it smaller than original
  10. Hi, Want to resize this sprite more smaller than original. does Act editor can do it like Magnify?
  11. this is already OOD I guess Vykimo have share it but i can't see that anymore
  12. maybe you must combine with getmapxy and then use *movenpc "<NPC name>",<x>,<y>{,<dir>};
  13. Use this *channel_kick "<chname>",<char_id>; *channel_kick "<chname>","<char_name>"; Kick player from a public or private channel. Channel's owner or group with PC_PERM_CHANNEL_ADMIN cannot be kicked. Returns 1 on success.
  14. prontera,150,160,3 script Example 99,{ if(!getcharid(2)) { mes "Welcome"; close; } switch(select("Storage:Tool Dealer:Cashshop")){ case 1: openstorage; end; case 2: callshop "yourshop",1; end; case 3: callshop "yourshop",1; end; } { Ur welcome. please marks as answer if my reply help you
  15. why not use this script command setpcblock PCBLOCK_USEITEM, true; and the end event setpcblock PCBLOCK_USEITEM, false;
  16. try to use GDB when runing map-server so you will get info more detail why your server crash
  17. Hi, all i have script event emper breaker, so for 3 minutes player can break the emper repeatly each break emper get 1 points. my problem its how to save the higher result on my table rank this is my script OnStartEmp: monster "quiz_01",50,49, "--ja--", 3002, 1,"Emperium War::OnEmpBreak"; end; OnEmpBreak: set [email protected]$,"Character "+strcharinfo(0)+" ("+getcharid(0)+") broke the Emperium"; set #count, #count+1; query_sql("INSERT INTO `breaker_ladder` SET `char_id` = '"+getcharid(0)+"', `count` = '1' ON DUPLICATE KEY UPDATE `count` = `count`+1"); announce strcharinfo(0)+" has break the Emperium!.", bc_ALL; sleep 2000; announce "Emperium will respawn in 3 seconds.", bc_ALL; sleep 1000; mapwarp "quiz_01","quiz_02",252, 377,0; sleep 2000; goto OnStartEmp; end; and this is the npc ranking quiz_02,261,390,3 script Emp War Ranking 4_BOARD3,{ query_sql("SELECT `count` FROM `breaker_ladder` WHERE `char_id` = "+ getcharid(0), [email protected]); mes "What would you like to do?"; next; switch(select("~ View Top 10 Emp Breakers Weekly",(getgmlevel()> 60) ? "~ [GM MENU] Reset data":"")) { case 1: mes "Top 10 Emperium Breaker Weekly"; if(!([email protected] = query_sql("SELECT `char_id`, `count` FROM `breaker_ladder` ORDER BY `count` DESC LIMIT 10", [email protected], [email protected]))) { mes "No data found."; close; } for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) { query_sql("SELECT `name` FROM `char` WHERE `char_id` = '"[email protected][[email protected]]+"'",[email protected]$); mes ([email protected]+1) +". "+ [email protected]$ +" ~ "+ [email protected][[email protected]] +" breaks."; } close; case 2: mes "Are you sure you want to delete all Emp Breaker Ladder data?"; next; select("Yes"); message strcharinfo(0), "Deleting..."; progressbar "", 5; query_sql("TRUNCATE TABLE `breaker_ladder`"); mes "Deleting complete.."; close; } end; So my goal its to save higher score player get since player can try this event anytime. Ex: First time Try for 3 minutes player get result 11 points break second time player will get 10 points so if Last Score < Higher Score didnt update to the table rank
  18. just patient the files still need approve by admin/moderator
  19. better use script command *channel_kick "<chname>",<char_id>; *channel_kick "<chname>","<char_name>"; Kick player from a public or private channel. Channel's owner or group with PC_PERM_CHANNEL_ADMIN cannot be kicked. Returns 1 on success.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.