Jump to content

Emistry

Forum Moderator
  • Posts

    10013
  • Joined

  • Days Won

    395

Everything posted by Emistry

  1. function script Dispell { for( set .@i,getarg(0); .@i <= getarg(1); set .@i,.@i + 1 ) sc_end .@i; return; } use this function.. callfunc "Dispell",<Start No.>,<End No.>; choose the Buff to start cancel from which number and end with which number.. number you can check here.. https://rathena.svn....nk/db/const.txt
  2. http://www.eathena.ws/board/index.php?showtopic=232164&hl=deny.txt
  3. try this prontera,155,181,5 script Sample 757,{ mes "You only have 10 minutes inside the Room."; addtimer 600000, strnpcinfo(3)+"::On600secs"; close2; warp.Map$,0,0; end; On600secs: message strcharinfo(0),"10 Minutes have passed!"; warp "prontera",155,181; end; OnInit: set .Map$,"guild_vs5"; monster .Map$,0,0,"Gold",1002,100,strnpcinfo(0)+"::OnMobKill"; end; OnMobKill: getitem 969,1; monster .Map$,0,0,"Gold",1002,1,strnpcinfo(0)+"::OnMobKill"; end; }
  4. have you make sure your have installed the custom pallete ?? did your server client read the Correct GRF / Data Folder ? did the client read your GRF / Data Folder ? did you enabled the Custom Pallete from server setting there ?
  5. Emistry

    Token Loot

    prontera,155,181,5 script Sample 757,{ OnTouch: if( .Event ) warp "guild_vs5",0,0; end; OnWhisperGlobal: if( getgmlevel() < 80 ) end; OnMinute00: set .Event,1; hideoffnpc strnpcinfo(0); announce "Loot event has started. Rush to the Portal.",0; sleep ( 30 * 1000 ); // How long Portal Open ? announce "Portal will be close by now..",0; hideonnpc strnpcinfo(0); set .Event,0; monster "guild_vs5",0,0,"Name",1002,30,strnpcinfo(0)+"::OnMobKilled"; sleep ( 60 * 1000 ); // Last how long the Event ? killmonster "guild_vs5","All"; mapwarp "guild_vs5","prontera",155,181; end; OnMobKilled: monster "guild_vs5",0,0,"Name",1002,1,strnpcinfo(0)+"::OnMobKilled"; end; } to start the Game pm this with any message [npc:Sample]
  6. Please try to be specify ?? i dunno how to duplicate your problems..the script work just fine in my test server... i can buy all the item in each categories..... and remember next time use codebox or attachment to wrap a long script ^^
  7. try this prontera,155,181,4 script Sample 757,{ if( !#Freebies && $Freebies < 100 ){ for( set .@i,0; .@i < getarraysize( .Items ) - 1; set .@i,.@i + 2 ) getitem .Items[.@i],.Items[.@i + 1]; mes "Congratulations."; set #Freebies,1; set $Freebies,$Freebies + 1; }else{ mes "You cant take this anymore...."; } close; OnInit: setarray .Items,607,1,608,2,501,3,515,4; end; } Edit : Fixed some Bug and missing lines
  8. change set .ItemLists[0],5001,5002,5003,5004; into setarray .ItemLists[0],5001,5002,5003,5004;
  9. perhap this can help you ?? XAMPP_Installation
  10. Emistry

    Token Loot

    erm..i think because of the Sprite Problem...sprite 45 is a Portal Sprite..it is unclickable.. beside,...the script ( portal ) will only work to warp ppl everytime when the event is started...
  11. rAthena SVN : https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/ conf/inter_athena.conf // Global SQL settings // overriden by local settings when the hostname is defined there // (currently only the login-server reads/obeys these settings) sql.db_hostname: 127.0.0.1 sql.db_port: 3306 sql.db_username: ragnarok sql.db_password: ragnarok sql.db_database: ragnarok sql.codepage: // MySQL Character SQL server char_server_ip: 127.0.0.1 char_server_port: 3306 char_server_id: ragnarok char_server_pw: ragnarok char_server_db: ragnarok // MySQL Map SQL Server map_server_ip: 127.0.0.1 map_server_port: 3306 map_server_id: ragnarok map_server_pw: ragnarok map_server_db: ragnarok // MySQL Log SQL Database log_db_ip: 127.0.0.1 log_db_port: 3306 log_db_id: ragnarok log_db_pw: ragnarok log_db_db: ragnarok log_codepage: log_login_db: loginlog
  12. download rAthena file and setup.... link all the MySQL database into your new rAthena server... otherwise, backup / export the MySQL Database...then execute the Database in the MySQL.. but careful that some structure in rAthena is different than eathena / 3Ceam
  13. extract those sprite / files from your current GRF and and merge it into a new GRF
  14. erm try this.... prontera,155,181,4 script Sample 757,{ set .ItemLists[0],5001,5002,5003,5004; set .ItemID,7539; for( set .@i,0; .@i < getarraysize( .ItemLists ); set .@i,.@i + 1 ){ set .@Menu$, .@Menu$ + getitemname( .ItemLists[.@i] )+":"; } set .@i,select( .@Menu$ ) - 1; if( countitem( .ItemLists[.@i] ) < 2 ){ mes "You didnt have enough "+getitemname( .ItemLists[.@i] )+" to trade into "+getitemname( .ItemID )+"..."; }else{ delitem .ItemLists[.@i],2; getitem .ItemID,1; mes "Gained 1 "+getitemname( .ItemID )+" by exchange 2"+getitemname( .ItemLists[.@i] )+" ."; } close; }
  15. Emistry

    Token Loot

    try this prontera,155,181,4 script Portal 45,2,2,{ OnTouch: if( .Event ) warp "guild_vs5",0,0; end; OnMinute00: set .Event,1; hideoffnpc strnpcinfo(0); announce "Loot event has started. Rush to the Portal.",0; sleep ( 30 * 1000 ); // How long Portal Open ? announce "Portal will be close by now..",0; hideonnpc strnpcinfo(0); set .Event,0; monster "guild_vs5",0,0,"Name",1002,30,strnpcinfo(0)+"::OnMobKilled"; sleep ( 60 * 1000 ); // Last how long the Event ? killmonster "guild_vs5","All"; mapwarp "guild_vs5","prontera",155,181; end; OnMobKilled: monster "guild_vs5",0,0,"Name",1002,1,strnpcinfo(0)+"::OnMobKilled"; end; }
  16. choose your desired client.. choose the desired diff for your client.. and download.. http://eathena.sourceforge.net/tools/diff_patcher.php
  17. it depend on your custom hexed client... you can either make it read GRF / Data / Both.....
  18. why not using One-Handed Quicken ??
  19. try edit here ? conf/battle/guild.conf // Activate guild skills delay by relog? (Note 1) // Official setting is "yes", otherwise allow guild leaders to relog to cancel the 5 minute delay. guild_skill_relog_delay: yes
  20. miruku is the replacement for Ragray for your custom client.. hexed at you can hex it at your own.. http://rathena.org/tools/diff_patcher.php
×
×
  • Create New...