-
Posts
261 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Gouki
-
-
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 belowRemoved on June 6, 2020 -> https://github.com/rathena/rathena/issues/2450#issuecomment-639630185
-
21 hours ago, RikuTzy said:
rAthena doesn't support ZERO.
My I know what client date do you use?
-
-
-
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; }
-
6 hours ago, sapitosucio said:
You mean the main cities or some of their field maps ?
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. -
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? -
On 8/18/2022 at 10:21 PM, Mael said:
Add those from here.
https://github.com/llchrisll/ROenglishRE/tree/master/Pre-Renewal/data
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.
-
On 3/5/2023 at 4:51 AM, Pokye said:
this rodex is the old model of the 2012~2015 clients if I'm not mistaken, and about this other system there is in the PR of the rA. https://github.com/rathena/rathena/pull/7410
are the goldpc timer needs to be manually installed?
-
On 4/10/2023 at 10:27 PM, WhiteEagle said:
is this still unofficial the reason why it's not on the most recent pull?
-
On 2/13/2021 at 1:12 PM, andoy said:
i just commented the payon_in03 since it doesnt exist in old payon map
were you able to fix old payon and morroc?
-
Problem solved. inter_athena misconfiguration due to updates / sql incompatible with current mariadb.
-
7 hours ago, Jayz said:
You need to create password in your ragnarok user,
on your inter_athena do you use your local ip, or your vps' ip? and also, do you use root to login or ragnarok?
-
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';
-
would map announce feature work on 2018 clients?
-
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.
-
On 6/29/2022 at 9:39 PM, iFox said:
can you share what you did brother? thanks
check slammers reply, that's what he did.
-
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?
-
2 hours ago, cook1e said:
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
-
1
-
-
@cook1e Hey, on these examples, NPCs are not specified, been trying to locate on how to access these npcs. if it's not specified, how can we access them? very new to barter system and exploring it, thank you!
-
Just now, Echoes said:
If using RAGEXE remember to diff it disabling cheat defender, just in case.
This webpage should help you choosing langtype and servicetype: https://github.com/rathena/rathena/wiki/Clientinfo.xml
Did you define the packetver, right?
I'll check this option, thank you for the langtype and servicetype link..
I didn't set it as this is already the default client set in rathena packetver.-
1
-
-
Update...
Played a with the diff settings and placed load custom clientinfo.xml to enabled and direct it to clientinfo.xml, together with other bunch of options, and now its working fine, even the font on the login screen fixed itself.Just now, Echoes said:Hello,
I would suggest you change the servicetype to 'america' and servertype to 'primary', see if that works.
Are you using RAGEXE or RAGEXERE?
I tried placing it back servicetype to 'america' as this is normally what I use, but placing servertype to 'primary' doesn't really let me launch the client.
I'm using RAGEXE I believe -> http://nemo.herc.ws/clients/2021-11-03_Ragexe_1635926200/should I use RAGEXE or RAGEXERE? I'll be using this for a pre-renewal settings, just want to try and infuse new RO features to pre-renewal style server.
this link is from a comment of akkarin on this post.
-
A little progress..
I removed some ignore error diff on the client and got a prompt of Incorrect Servertype, so I changed Servertype Primary to Sakray and the client is now going through.
Now the problem is that, the client is not connecting to the Server, I tried creating an account using _m (yes it is activated server side), but it instantly pops up to Failed to Connect to Server. Rechecked, if the ports are opened on the VPS and it is the 3 ports are opened.. Now I'm not sure what I'm missing of if it's a misconfiguration. The server is starting fine without errors.
Here's my clientinfo.xml
<?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <desc>Ragnarok Client Information</desc> <servicetype>korea</servicetype> <servertype>sakray</servertype> <connection> <display>Local</display> <address>VPS IP</address> <port>6900</port> <version>55</version> <langtype>1</langtype> <registrationweb>www.ragnarok.com</registrationweb> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> <image>loading04.jpg</image> <image>loading05.jpg</image> <image>loading06.jpg</image> </loading> </connection> </clientinfo>
Here's my opened ports.. -
Hi all,
I'm currently trying the recommended client of rathena, I have also diffed it already.
The issue: When you open the client, and after the run as admin prompt, nothing happens. no error messages. It just doesn't go through to open the exe.
What could be the issue?
Utility: Compendium
in Utility Script Releases
Posted
No. Wasn't able to fix this..