Jump to content

sader1992

Content Moderator
  • Posts

    1691
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by sader1992

  1. something like this Imports: - Path: db/re/item_db.yml - Path: db/pre-re/item_db.yml Mode: Prerenewal - Path: db/re/item_db.yml Mode: Renewal - Path: db/import/item_db.yml
  2. sader1992

    issue

    conf/import/char_conf.txt login_ip: 127.0.0.1 char_ip: public_ip conf/import/map_conf.txt char_ip: 127.0.0.1 map_ip: public_ip and don't forget to check your ports
  3. you are using the custom job changer , I am asking about the official quest , all the quest are enabled by default , so just remove the job changer and people would be forced to go do their job quest.
  4. how this is different from the official rathena's scripts ?
  5. you should talk to the server owner , and ask him to contact @Functor and ask him about the issue.
  6. - script ANY_MAP_SPAWNER -1,{ function F_SpawnMob { monster getarg(0),0,0,"--ja--",.mobId,1,"ANY_MAP_SPAWNER::OnMyMobDead"; announce "A new mob has spawned!",0; return; } OnInit: .mobId = 1002; setarray .maps$,"prontera","izlude"; for(.@i=0;.@i<getarraysize(.maps$);.@i++){ F_SpawnMob(.maps$[.@i]); } end; OnMyMobDead: .@m$ = strcharinfo(3); announce "The mob has been killed by "+strcharinfo(0)+", wait a hour for the respawn.",0; sleep 3600000; F_SpawnMob(.@m$); end; } You need to use for loop also after that your timer wont work the way you expect it to, so you replace it with something else the script above work the way you want.
  7. prontera,0,0,0 script Clear-Monsters 444,{ if(!getmapunits(BL_MOB,strnpcinfo(4))){ mes "no monsters in this map!"; end; } .@zeny = 10000000; mes "do you like to clear all the monsters in this map ?"; mes "It will cost you " + F_InsertComma(.@zeny) + "z"; if(select("Yes:No") == 2) end; clear; if(Zeny < .@zeny){ mes "you don't have " + F_InsertComma(.@zeny) + "z"; end; } Zeny -= .@zeny; killmonsterall(strnpcinfo(4)); mes "Done!"; end; }
  8. prontera,0,0,0 script Clear-Monsters 444,{ .@zeny = 10000000; mes "do you like to clear all the monsters in this map ?"; mes "It will cost you " + F_InsertComma(.@zeny) + "z"; if(select("Yes:No") == 2) end; clear; if(Zeny < .@zeny){ mes "you don't have " + F_InsertComma(.@zeny) + "z"; end; } Zeny -= .@zeny; killmonsterall(strnpcinfo(4)); mes "Done!"; end; }
  9. conf/import/char_conf.txt login_ip: 127.0.0.1 char_ip: your_ip conf/import/map_conf.txt char_ip: 127.0.0.1 map_ip: your_ip
  10. // Heroes of Vanaheim ==================== //======================================== - script at_veil_cmd -1,{ OnVeilWarp: if(agitcheck() || agitcheck2() || agitcheck3()){ mes "you can't use this command while the WoE is running!"; end; } warp "veil",120,145; end; OnInit: bindatcmd "veil", strnpcinfo(0)+"::OnVeilWarp"; }
  11. 1) no , you will get the source code , and it's up to you to compile it , and set it up , also you wont get a ready to play client , you would have to do this by your self too , however if you follow the guides in the forum , excluding the download time , you can set up a local server in less then 10 min , everything depend on your experience 2) yes , you have to install some kind of sql 3) Always/Never , well , it's hard to tell , you see the updates , if it's a bug , and it would effect your server , you would want to apply it to your server , right ? if it's a public server , you should use git commands always , and you can update your server like once a week , of once a month , the longer the time you wait the more updates you would have to apply, I wouldn't recommend more then a month , however if your server is fully customized , I wouldn't suggest a normal update, in that case , 1st i would suggest to try to get your copy as stabile as possible , by applying fixes only , you would reach a point where most of the fixes on rathena for things that you didn't apply to your server anyway 4) it's a database, so it's very easy again everything depend on your experience , everything could take around 10 minutes or 10 weeks ? I would just suggest to follow rathena wiki first , and if there is anything you didn't understand , or you are stuck , you can search the forum. Home · rathena/rathena Wiki (github.com)
  12. prontera,0,0,0 script npcccc 444,{ if(!#ONEITEMPERACC){ mes "here is your item"; #ONEITEMPERACC = true; getitem(502,1); }else{ mes "you already got your item"; } end; } if you mean a specific account get 1 item one time prontera,0,0,0 script npcccc 444,{ if(getcharid(3) != 2000000){//account id here mes "your account doesn't match"; end; } if(!#ONEITEMPERACC){ mes "here is your item"; #ONEITEMPERACC = true; getitem(502,1); }else{ mes "you already got your item"; } end; }
  13. get 1 item per any character ? prontera,0,0,0 script npcccc 444,{ if(!ONEITEMPERCHAR){ mes "here is your item"; ONEITEMPERCHAR = true; getitem(502,1); }else{ mes "you already got your item"; } end; } get an item for specific character id ? prontera,0,0,0 script npcccc 444,{ if(getcharid(0) == 1500000){//char id here mes "here is your item"; getitem(502,1); }else{ mes "your character id does not match!"; } end; }
  14. if anyone have anymore question , he can send it to Functor in the PM.
  15. -1: Invalid type. -2: Character/Party/Guild/Clan not found. -3: Instance already exists. -4: No free instances (MAX_INSTANCE exceeded).
  16. int64 value = pc_readregistry(sd, reference_uid(add_str("VARIABLE"), 0)); 0 = THE Index if you are using array , if not leave it 0
  17. well , it's all about how you use the os you need to know the basic like how to install programs , check the programs configuration , permissions , and files management there is no direct guide because you don't see how to "install a program" guide for windows, and you don't need that guide because I would assume "you just know how" even if there is some useless guides like that , each program have it's own things so you need to learn the basic ? and follow this Install on Debian · rathena/rathena Wiki (github.com) I recommend debian 9 for the high payment for who installed your server , well it's normal I don't think you would ask bill gates to install windows in your pc for one or two digit USD xD it's the nerds tax
  18. input .@i$; .@input$ = "_"+.@i$; freeloop(1); for(.@j = 1; .@j<4; .@j++) { for(.@i = 0; .@i<.@size_card[.@j]; .@i++) if (compare(.@input$,"_"+getitemname(getd(".@card"+.@j+"["+.@i+"]")))) { .@card = getd(".@card"+.@j+"["+.@i+"]"); break; } sleep2 10; // For good measure if (.@card) break; } freeloop(0); To input .@it; freeloop(1); for(.@j = 1; .@j<4; .@j++) { for(.@i = 0; .@i<.@size_card[.@j]; .@i++) if (.@it == getd(".@card"+.@j+"["+.@i+"]")) { .@card = getd(".@card"+.@j+"["+.@i+"]"); break; } sleep2 10; // For good measure if (.@card) break; } freeloop(0);
  19. [8000] = { unidentifiedDisplayName = "Scarf", unidentifiedResourceName = "Scarf", unidentifiedDescriptionName = { "..." }, identifiedDisplayName = "Scarf", identifiedResourceName = "Scarf", identifiedDescriptionName = { "Item Custom Nidhoggur.", "Class:^6666CC Costume^000000", "Location:^6666CC Lower headgear^000000", "Weight:^006600 100^000000", "Level Requirement:^006600 1^000000", "Jobs:^6666CC All^000000" }, slotCount = 1, ClassNum = 1882 },
  20. drop sprite/icon/collection and the line in the item info should not start with _
×
×
  • Create New...