Jump to content

LearningRO

Members
  • Posts

    778
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by LearningRO

  1. if you want make it perament for VIP user just change sc_start SC_BATKFOOD,-1,200; sc_start SC_WATKFOOD,-1,200;
  2. just use custom script command form tokei OnEvent: if (killerid == 1002(yourmobid) { do script }
  3. in client side system/monster_size_effect.lub
  4. in mmo.hpp change maxguild into #define MAX_GUILDSKILL 17 Hi, do you have solved your problem?
  5. - 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; }
  6. just disable it that commadn on pvp/gvg map if (getmapflag(strcharinfo(3),mf_pvp)||getmapflag(strcharinfo(3),mf_gvg)) end;
  7. just Add this script when player finish the instance setd #INSTANCEPOINTS, #INSTANCEPOINTS+ 100;
  8. Hi how to fix this issue? in Act Edtor have good position but in game not ?
  9. 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?
  10. rathena can be script like this????? I never know about that ahhaha
  11. hey, i know that script its only to make it bigger than original but cannot make it smaller than original ? whoa thanks its work! i didn't know can use decimal ? Hi, Tokei after resize the sprite didnt in the right place how to make it follow the right anchor?
  12. Hi, Want to resize this sprite more smaller than original. does Act editor can do it like Magnify?
  13. this is already OOD I guess Vykimo have share it but i can't see that anymore
  14. maybe you must combine with getmapxy and then use *movenpc "<NPC name>",<x>,<y>{,<dir>};
  15. 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.
  16. 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
  17. why not use this script command setpcblock PCBLOCK_USEITEM, true; and the end event setpcblock PCBLOCK_USEITEM, false;
  18. try to use GDB when runing map-server so you will get info more detail why your server crash
  19. 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 .@notice$,"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), .@count); 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(!(.@nb = query_sql("SELECT `char_id`, `count` FROM `breaker_ladder` ORDER BY `count` DESC LIMIT 10", .@cid, .@count))) { mes "No data found."; close; } for ( .@i = 0; .@i < .@nb; .@i++ ) { query_sql("SELECT `name` FROM `char` WHERE `char_id` = '"+.@cid[.@i]+"'",.@name$); mes (.@i+1) +". "+ .@name$ +" ~ "+ .@count[.@i] +" 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
  20. just patient the files still need approve by admin/moderator
  21. 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...