deniswalle96
Members-
Posts
30 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
deniswalle96's Achievements
-
Mob AttackDelay and AttackMotion
deniswalle96 replied to deniswalle96's question in Database Support
Understood, thanks. -
I kinda figured it out, but I still can't make the item drop on the coordinates where the monster died. Tried getunitdata, but no success. OnMonsterKilled: .@dropchance = rand(1,100); if(.@dropchance <= 5){ getmapxy(.@map$,.@x,.@y,BL_PC); setarray .@fateshard[0],1000258,1000259,1000260,1000261,1000262; .@randomshard = rand(getarraysize(.@fateshard)); makeitem (.@fateshard[.@randomshard]),1,.@map$,.@x,.@y; } dispbottom "Rand: "+.@dropchance; } Also, since i'm a complete newbie at scripting, I still don't understand the different scopes of variables, can you enlight me on this one?I've read the doc/script_commands.txt file, but it's not clear to me. Like, when should I use ".@" vs "." var?
-
I have a question regarding how is 'AttackDelay' value determined in mob_db For example, mob id 1634 has AttackDelay: 76 AttackMotion: 384 The ASPD value displayed in divine-pride.net refers to AttackMotion (1000/X) = aMotion. How is the 'AttackDelay' value calculed?
-
Given a list of for example, 5 items, is it possible to add them to the drop list of a mob, but in a way that only one of them has a chance to drop when the mob is killed?
-
Modify getBattleFlag message display
deniswalle96 replied to deniswalle96's question in Scripting Support
Thank you @J4ND3RS0N -
I'm trying to create a simple script to display some battle_conf information when a players logs-in, but I need to make it so that instead of displaying the original value, it shows n/100. For example, base_exp_rate should display "3" instead of "300", how can I achieve that? - script motd -1,{ OnPCLoginEvent: announce "EXP - Base: "+getBattleFlag("base_exp_rate")+"% / Job: "+getBattleFlag("job_exp_rate")+"%"+"\n"+"Drop - General: "+getBattleFlag("item_rate_common")+"% Cards: "+getBattleFlag("item_rate_card")+"%",bc_self; end; }
-
Yes, no errors here. There's something missing in your kRO's data.grf most likely Delete your client folder, extract again, and try updating your data.grf with Ai4rei's patcher https://nn.ai4rei.net/dev/rsu/
-
Any custom grf? How is your data.ini file? Did you pack llchrisll's english translation into your custom grf? https://github.com/llchrisll/ROenglishRE
-
Missing lua files. Is your data.grf updated? It could also be a langtype issue. Diff your client with "Always load korea ExternalSettings lua file" patch and see whether it fixes the error
-
I think that's your problem, the status label is out of the frame Try setting it to 498
-
What about completely? All 4th jobs precisely.
-
Basic question for a returning server creator
deniswalle96 replied to DarkWhoteva's question in General Support
Should be enabled by default src/config/renewal.hpp Comment this line if it's uncommented //quick option to disable all renewal option, used by ./configure //#define PRERE Uncomment this line if it's commented /// Leave this line to enable renewal specific support such as renewal formulas #define RENEWAL -
I mean in a way that they don't even appear when using @job command. Is there any check for it or do I need to modify multiple source files?
-
oh I see, I must add the values in hex, not decimal.