Jump to content

Rynbef

Forum Moderator
  • Posts

    941
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by Rynbef

  1. Does the items strip if u firstly enter the map? @DEsMOnI've created another version with npc timer instead of OnLoadMapEvent and while loop. weaponaccesspvp fixed.txt Rynbef~
  2. U can use this: https://github.com/rathena/rathena/blob/master/conf/battle/drops.conf#L150 Rynbef~
  3. @DEsMOnidk why u don't use the simplest way. U wanna unequip every equipment. Just use the *nude script command. weaponaccesspvp.txt Just to say: U use a lot of unused statements. U try to read the 2nd index (3rd entrie) of the array at OnPCKillEvent but the map array starts with index 0 and only two added. U don't need to use a switch(select()) for only one entrie. U can shorter it by if(select()) and no need of.case. If u only have one case u don't need break. Break is for skipping the other cases and jump after the switch statement. The script could be much shorter and easier to read. @DEsMOnI've restructure, rewritten and fixed the script completely. This was a bit confused. The error could prompt cause u forgotten () or doubled semicolon. Please try to compare the scripts to learn. //not tested weaponaccesspvp fixed.txt Rynbef~
  4. @DEsMOnMaybe remove all start items from the char config and at https://github.com/rathena/rathena/blob/master/src/char/char.hpp#L21 set to 0. U can give items by script if u want. Of course u need to recompile. I've scripted a npc for getting start items by script on first login. Maybe u wanna use it. //Not tested Start_items.txt Rynbef~
  5. @Styx15I haven't so much time but I hope it works like u want. Account bounded and IP restricted I think thats not the best solution. Woe.txt Rynbef~
  6. Do u've check the char server conf? start_items: 1201,1,2:2301,1,16 start_items_doram: 1681,1,2:2301,1,16 Rynbef~
  7. @DEsMOnThere are much better ways but cuz of time I've just fixed the issues. weaponaccesspvp.txt Rynbef~
  8. Try: screen -dmS login ./login-server && screen -dmS char ./char-server && screen -dmS map ./map-server The screens will run detached. U can attach like on previous posts already said. Rynbef~
  9. @achreshiaThe only way which comes in my mind was to create a Warper npc for PvP or do an OnLoadMapEvent. Which I've scripted for u. I hope I can help u a lot. PVPNoSameClassInParty.txt //Not tested Rynbef~
  10. The easiest way is to install "screen" and run the server by: screen -S rathena ./athena-start start With: screen -R rathena u can attach the screen. U can detach with CTRL+A+D as @Royralready said. U can ofcourse use mtputty to create tabs for each screen. See example in previous post. Rynbef~
  11. @GM WinterPlease read the initialized variables of a npc. Mostly u can find it at the label OnInit. Just a suggestion ? At top u can find the settings. Firt number is Base Level and the secound one the Job Level. // Level Requirements setarray .Req_First[0],1,10; // Minimum base level, job level to turn into 1st class setarray .Req_Second[0],1,40; // Minimum base level, job level to turn into 2nd class Rynbef~
  12. We write at Discord. I fix this small issue if I've setted up my server. Rynbef~
  13. Thx @EmistryI've learned new arguments to the input script command that I doesn't know ? Rynbef~
  14. Try this: Warper changed.txt And maybe attach ur crash log. Rynbef~
  15. I've added a Back Menu to all Maps. If there is a dungeon u can go back to main menu. If u select a dungeon as ex. amatsu dungeon it will show ama_dun01 etc and u can go back to dungeons. Sometimes there are fields like mjolnir which don't contains (fild) then u can go back to main menu. Cuz I use compare to differences between fild and dun. //not tested Warper changed.txt Rynbef~
  16. @Styx15U can use this: OnPCLogoutEvent: sc_end SC_GEFFEN_MAGIC3; If u want to debuff if the player warps out from a specified map u can set the loadevent mapflag and create a script with the label OnPCLoadMapEvent. It will triggerd if the player warp to or out of the map. Rynbef~
  17. I rly don't understand what u want. Please write in english or use the Filipino sub forum. Rynbef~
  18. @KaAlfredPriWhat does ur login server say? We need more information. Please attach ur clientinfo.xml. Check the server configuration maybe the port is blocked. U can try to ping the server ip and port (https://ping.eu) U can record the outgoing packets to check on which ip the client sends the packets so u can easy find out if your clientinfo.xml is load or overwritten by other etc Rynbef~
  19. U could do it like the lhz dungeon warps. https://github.com/rathena/rathena/blob/master/npc/warps/dungeons/lhz_dun.txt lhz_cube,59,136,0 script cubew02-3 45,1,1,{ callfunc "randomw"; end; } Rynbef~
  20. Just replace it with the ROEnglish Lua Files https://github.com/llchrisll/ROenglishRE/blob/master/Renewal/System/achievement_list_EN.lub Rynbef~
  21. Disable connection over SSL. Rynbef~
  22. I've fixed it since a few years ago by replacing the _f files to an older one. Rynbef~
  23. If u want that the character can't repeat the quest to need a Variable like CocoQuest to 1 after getting Exp. At the begin of the script u add an if-statement and continue if the Variable CocoQuest != 1 is. If u want it to be account Bounded u need a # before. Ex. #CocoQuest Rynbef~
  24. @Dolphin86After give the items, Exp or zeny u need to erase the quest and/or set variables to 0. The player is able to repeat the quest afterwards. Rynbef~
  25. I don't know if there is a way to give the skill a cooldown on example on PvP maps. Ive realised it by the following script. CoolDownChangeOnPVPMaps.txt My suggestion is to create a database like the damage adjust. The file could be like this one. Suggestion - Skill Cooldown.txt What do u think about? Rynbef~
×
×
  • Create New...