Jump to content

Gouki

Members
  • Posts

    241
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gouki

  1. Thank you! will give this a try
  2. Hi All, Just want to ask if there's a correct or newer way of updating map_cache on new rAthena? From experience, usually like updating new izlude to old izlude, just drag and drop the old .gat file to pre/map_cache and you're good to go, of course needs to update client files as well. same goes with pvp_y_1-2 / pvp_y_2-2. before I just rename old izlude's files to the corresponding pvp maps and update pre/map_cache. Right now when I do these steps, instant crash upon entering the map. Is my method the correct way or files must be extracted from browedit for it to work?
  3. I've fixed this i think its the legacy title bar on nemo.
  4. probably your firewall port for 8888 is closed. this fixed mine.
  5. Hi guys, Is it possible to make *bonus script work on OnPCLoginEvent and OnPCLogoutEvent? Basically what I want is it gives bonus stat upon login based on character variable set. --------------------------------------- *bonus <bonus type>,<val1>; *bonus2 <bonus type>,<val1>,<val2>; *bonus3 <bonus type>,<val1>,<val2>,<val3>; *bonus4 <bonus type>,<val1>,<val2>,<val3>,<val4>; *bonus5 <bonus type>,<val1>,<val2>,<val3>,<val4>,<val5>; These commands are meant to be used in item scripts. They will probably work outside item scripts, but the bonus will not persist for long. They, as expected, refer only to an invoking character. You can find the full list of possible bonuses and which command to use for each kind in 'doc/item_bonus.txt'. --------------------------------------- I have tried using *statusup2, it works but it falls under the base status of the character which I would want it to be on the + side of the stats. and If I change it to Bonus instead of statusup2, nothing happens. --------------------------------------- *statusup2 <stat>,<amount>{,<char_id>}; This command will change a specified stat of the invoking character by the specified amount permanently. The amount can be negative. See 'statusup'. // This will decrease a character's Vit forever. statusup2 bVit,-1; --------------------------------------- Code runs something like -- - script abcdefg -1,{ OnPCLoginEvent: if (#vit_up == 1) statusup2 bVit,30; end; OnPCLogoutEvent: if (#vit_up == 1) statusup2 bVit,-30; end; } Further research, there are couple of scripts I found however requires OnPCStatCalcEvent which I think is removed already around 2020 githash. --> Sample script that uses bonus script command from @Emistry on link below Removed on June 6, 2020 -> https://github.com/rathena/rathena/issues/2450#issuecomment-639630185
  6. My I know what client date do you use?
  7. Does Zero clients work on rA? if not what would be the best solution or client version to use?
  8. Hi all, on 20211103 the recommended client for current rathena is not allowing Disconnect to Login, is there a patch where I can enable this to the client?
  9. Hi, Does anyone know what does this error mean or how to fix it? there's no much information in search about npc_dynamicpc_removal_timer. - script asdsadsada -1,{ if($MvPTreasure){ message strcharinfo(0),"The system has been disabled by a gm!"; end; } getmapxy(.@m1$,.@x1,.@y1,BL_PC); getmapxy(.@m2$,.@x2,.@y2,BL_NPC); if(distance(.@x1,.@y1,.@x2,.@y2) > 2){ message strcharinfo(0),"You are too far away!"; end; } explode(.@npcinfo$,strnpcinfo(2),"_"); if(@OpBox$ == strnpcinfo(2)){ message strcharinfo(0),"You are already opening this box!"; end; } else if(@OpBox$ != ""){ dispbottom "You can only open one box at a time!"; end; } if(getd(".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+"")){ dispbottom "Another player is opening box!"; end; } if((atoi(.@npcinfo$[5])-gettimetick(2))>=1) { if(getcharid(0) != atoi(.@npcinfo$[1])) { if(strcharinfo(1) != getpartyname(atoi(.@npcinfo$[0]))) { dispbottom "This chest is not yours, only the owner "+(getpartyname(atoi(.@npcinfo$[0])) != "null"?"and the group ("+getpartyname(atoi(.@npcinfo$[0]))+") they can":"can")+" open it!"; dispbottom "The chest will become unowned in ["+(atoi(.@npcinfo$[5])-gettimetick(2))+" seconds]"; end; } } } getmapxy(.@map$,.@x,.@y,BL_PC); set @OpBox$,strnpcinfo(2); set @OpVar$,".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+""; setd(".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+"",1); set .@t,atoi(.@npcinfo$[4]); set .@time,(.@t==3?25:.@t==2?20:.@t==1?15:10); message strcharinfo(0),"Opening..."; hateffect $MvPTRE_HTEID[0],0; hateffect $MvPTRE_HTEID[1],0; hateffect $MvPTRE_HTEID[2],0; hateffect $MvPTRE_HTEID[3],0; hateffect (.@t==3?$MvPTRE_HTEID[3]:.@t==2?$MvPTRE_HTEID[2]:.@t==1?$MvPTRE_HTEID[1]:$MvPTRE_HTEID[0]),1; while(.@time > -1) { getmapxy(.@map2$,.@x2,.@y2,BL_PC,strcharinfo(0)); if(.@map$ != .@map2$ || .@x != .@x2 || .@y != .@y2){ .@time = -1; .@fail = 1; @OpBox$ = ""; } else set .@time,.@time-1; if(.@time > -1) sleep2 1000; } hateffect (.@t==3?$MvPTRE_HTEID[3]:.@t==2?$MvPTRE_HTEID[2]:.@t==1?$MvPTRE_HTEID[1]:$MvPTRE_HTEID[0]),0; if(.@fail){ message strcharinfo(0),"Unable to open the Treasure Box."; setd(".b"+.@npcinfo$[1]+""+.@npcinfo$[2]+"",0); end; }
  10. the main cities, using the old payon and morroc maps. apparently i managed to "Fix" it. The old maps needs to be added in their original file name together with the correct file name. it's like duplicated on the grf.
  11. Hi All, Does anyone have a latest / 2021 compatible files of the OLD payon or morocc? the ones on the downloads section seems to be not compatible anymore. Or maybe it is compatible, does anyone know why it crashes? Installation done: Replace old payon/morocc RSW/GAT/GND files on the data folder just to test out and it crashes, tried applying map_cache, works fine on NEW payon but of course with not matching walkable cells. so brings me to conclusion that it is not compatible?
  12. tried doing this as well, just trying to replace the new morocc and payon gat rsw and gnd files on Data folder. however the old ones kept crashing. I think the map_cache works, however the map files doesn't. on the other hand, I just changed my prontera and its fine.
  13. are the goldpc timer needs to be manually installed?
  14. is this still unofficial the reason why it's not on the most recent pull?
  15. were you able to fix old payon and morroc?
  16. Problem solved. inter_athena misconfiguration due to updates / sql incompatible with current mariadb.
  17. on your inter_athena do you use your local ip, or your vps' ip? and also, do you use root to login or ragnarok?
  18. I've setup quite a few servers now following different guides using older revs. Due to curiosity of the new features and what not. seems like the connections are hard coded already on the newer revs? I have my inter_athena.conf setup correctly and it seems like something is overwriting my own database name to ragnarok, or previously I do use root as a username and now its like forced or being overwritten to use ragnarok. Are the guides now outdated and must follow the guide on our wiki? Install MySQL · rathena/rathena Wiki · GitHub I found alot of suggestions saying this fix CREATE USER 'ragnarok'@'localhost' IDENTIFIED BY 'ragnarok'; GRANT ALL PRIVILEGES ON ragnarok.* to 'ragnarok'@'%' IDENTIFIED BY 'ragnarok';
  19. would map announce feature work on 2018 clients?
  20. correct, Aegis name could be anything it should not be duplicated with any other item within your active DB, else it will result to an error. This is like a server ID and must be 1:1. identifiedResourceName and view/class id are the ones only needed to be matched so you'd get a successful duplicate.
  21. check slammers reply, that's what he did.
  22. Does newer clients really not show on task bar? my test client of 20211103 doesn't show on my task bar and "Alt-Tab", is this a diff option for it to show up?
  23. Sorry what I meant was, if the Map, X, and Y is not specified, like the example on re/merchants. where can this data/npc located in game? is there an official barter NPC or command to access this in game if the map/location of npc is not set manually? - Name: shop_sp_cor Items: - Index: 0 Item: Teleport_Ep17_01 RequiredItems: - Index: 0 Item: EP17_1_EVT02 Amount: 1 - Index: 1 Item: Hat_ Amount: 1 Refine: 7 - Index: 2 Item: Dagger_ Amount: 1 Refine: 10 - Index: 3 Item: Jellopy Amount: 100
×
×
  • Create New...