Jump to content

Lord Ganja

Members
  • Posts

    444
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Lord Ganja

  1. I'm having these warnings after I updated to Git Hash: '0b568eba7e1570c4dc7711ee2d79b26aa8232fa5' Any ideas why? TIA [Warning]: quest_read_txtdb: Invalid monster as objective '2197' in line 60. [Warning]: quest_read_txtdb: Invalid item reward '6520' (mob 2314, optional) in line 68. [Warning]: quest_read_txtdb: Invalid item reward '6520' (mob 2314, optional) in line 69. [Warning]: quest_read_txtdb: Invalid item reward '6520' (mob 2314, optional) in line 70. [Warning]: quest_read_txtdb: Invalid item reward '6520' (mob 2314, optional) in line 71. [Warning]: quest_read_txtdb: Invalid monster as objective '2313' in line 74. [Warning]: quest_read_txtdb: Invalid item reward '6522' (mob 2364, optional) in line 108. [Warning]: quest_read_txtdb: Invalid monster as objective '2367' in line 117. [Warning]: quest_read_txtdb: Invalid item reward '6522' (mob 2364, optional) in line 119. [Warning]: quest_read_txtdb: Invalid monster as objective '2319' in line 328. [Warning]: quest_read_txtdb: Invalid monster as objective '2355' in line 331. [Warning]: quest_read_txtdb: Invalid monster as objective '2360' in line 334. [Warning]: quest_read_txtdb: Invalid monster as objective '2363' in line 627. [Warning]: quest_read_txtdb: Invalid item reward '6498' (mob 2316, optional) in line 1215. [Warning]: quest_read_txtdb: Invalid monster as objective '2314' in line 1217. [Warning]: quest_read_txtdb: Invalid monster as objective '2311' in line 1217. [Warning]: quest_read_txtdb: Invalid item reward '6510' (mob 2310, optional) in line 1221. [Warning]: quest_read_txtdb: Invalid item reward '6510' (mob 2310, optional) in line 1226. [Warning]: quest_read_txtdb: Invalid monster as objective '2316' in line 1228. [Warning]: quest_read_txtdb: Invalid item reward '6507' (mob 2309, optional) in line 1230. [Warning]: quest_read_txtdb: Invalid item reward '6507' (mob 2313, optional) in line 1230. [Warning]: quest_read_txtdb: Invalid item reward '6507' (mob 2314, optional) in line 1230. [Warning]: quest_read_txtdb: Invalid monster as objective '2309' in line 1233. [Warning]: quest_read_txtdb: Invalid monster as objective '2363' in line 1258. [Warning]: quest_read_txtdb: Invalid monster as objective '2364' in line 1258. [Warning]: quest_read_txtdb: Invalid monster as objective '2327' in line 1629. [Warning]: quest_read_txtdb: Invalid monster as objective '2363' in line 1667. [Warning]: quest_read_txtdb: Invalid monster as objective '2364' in line 1667. [Warning]: quest_read_txtdb: Invalid monster as objective '2327' in line 2068. [Warning]: quest_read_txtdb: Invalid monster as objective '2132' in line 2314. [Warning]: quest_read_txtdb: Invalid monster as objective '2133' in line 2315. [Warning]: quest_read_txtdb: Invalid monster as objective '2134' in line 2316. [Warning]: quest_read_txtdb: Invalid monster as objective '2136' in line 2317. [Warning]: quest_read_txtdb: Invalid monster as objective '2137' in line 2318. [Warning]: quest_read_txtdb: Invalid monster as objective '2176' in line 2348. [Warning]: quest_read_txtdb: Invalid monster as objective '2175' in line 2349. [Warning]: quest_read_txtdb: Invalid monster as objective '2174' in line 2350. [Warning]: quest_read_txtdb: Invalid monster as objective '2178' in line 2351. [Warning]: quest_read_txtdb: Invalid monster as objective '2179' in line 2352. [Warning]: quest_read_txtdb: Invalid monster as objective '2177' in line 2353. [Warning]: quest_read_txtdb: Invalid monster as objective '2182' in line 2354. [Warning]: quest_read_txtdb: Invalid monster as objective '2181' in line 2355. [Warning]: quest_read_txtdb: Invalid monster as objective '2180' in line 2356. [Warning]: quest_read_txtdb: Invalid monster as objective '2183' in line 2357. [Warning]: quest_read_txtdb: Invalid monster as objective '2184' in line 2358. [Warning]: quest_read_txtdb: Invalid monster as objective '2185' in line 2359. [Warning]: quest_read_txtdb: Invalid monster as objective '2188' in line 2360. [Warning]: quest_read_txtdb: Invalid monster as objective '2187' in line 2361. [Warning]: quest_read_txtdb: Invalid monster as objective '2190' in line 2362. [Warning]: quest_read_txtdb: Invalid monster as objective '2189' in line 2363. [Warning]: quest_read_txtdb: Invalid monster as objective '2322' in line 2370. [Warning]: quest_read_txtdb: Invalid monster as objective '2475' in line 2397. [Warning]: quest_read_txtdb: Invalid monster as objective '2476' in line 2398. [Warning]: quest_read_txtdb: Invalid monster as objective '2365' in line 2455. [Warning]: quest_read_txtdb: Invalid monster as objective '2083' in line 2553. [Warning]: quest_read_txtdb: Invalid monster as objective '2084' in line 2555. [Warning]: quest_read_txtdb: Invalid monster as objective '2085' in line 2557. [Warning]: quest_read_txtdb: Invalid monster as objective '2086' in line 2559.
  2. No rush man Anyway I also found out that swiftness has incorrect info. When you type @wi, this one will appear if(.@X >= 32)dispbottom ""+(1+SwiftnessMaster)/10+"."+((1+SwiftnessMaster)%10)+"% chance of healing for "+(.@X/24+1)+"% of damage dealt with each normal attack"; if(.@X >= 64)dispbottom "Critical Chance +"+(1+.@X/20)+""; if(.@X >= 128)dispbottom "Crit Damage +"+(.@X/9-1)+"%"; while the bonus is not right if(SwiftnessMaster >= 32) bonus bCritAtkRate,SwiftnessMaster/9-1; if(SwiftnessMaster >= 64) bonus bCritical,1+OnslaughtMaster/20; if(SwiftnessMaster >= 128) bonus2 bHPDrainRate,1+SwiftnessMaster,1+SwiftnessMaster/24; EDIT: Fixed the debug msgs by changing all lines like this if(getequipid(EQI_HAND_R)){ set .@ei,getiteminfo(getequipid(EQI_HAND_R),11); into if(getequipisequiped(EQI_HAND_R)){ set .@ei,getiteminfo(getequipid(EQI_HAND_R),11); ------------------------------------------------------- This Setd ""+.@M$+"Exp",getd(""+.@M$+"Exp") + (strmobinfo(3,killedrid)+.wLvBonus*getiteminfo(getequipid(EQI_HAND_R),13)) * (getbattleflag("job_exp_rate") + getbattleflag("job_exp_rate") * getstatus(SC_JEXPBOOST,2)); into if(getequipisequiped(EQI_HAND_R)) .@weplevel = getiteminfo(getequipid(EQI_HAND_R),13); else .@weplevel = 1; Setd ""+.@M$+"Exp",getd(""+.@M$+"Exp") + (strmobinfo(3,killedrid)+.wLvBonus*.@weplevel) * (getbattleflag("job_exp_rate") + getbattleflag("job_exp_rate") * getstatus(SC_JEXPBOOST,2)); Please just check it if still works the same. Btw about the wrong info @wi, I checked it and there are several wrong info displayed on @wi. might be because of your updates, you forgot to change @wi infos. I somehow fixed them by using your default calculations based on the functions. I came up with this. PS: I modified some infos xD. Hope this might still help you OnWeaponInfo: set .@M$,.@atcmd_parameters$[0]; if((.@M$ == "")){ if(getequipisequiped(EQI_HAND_R)){ set .@ei,getiteminfo(getequipid(EQI_HAND_R),11); } else { set .@ei,-1; } switch(.@ei){ case 3: case 6: case 7: case 8: case 9: case 12: set .@M$,"Onslaught"; Break; case 0: case 1: case 16: case 22: set .@M$,"Swiftness"; Break; case 2: case 4: case 5: case -1: set .@M$,"Safeguard"; Break; case 11: case 13: case 14: case 17: case 18: case 19: case 20: case 21: set .@M$,"Ranged"; Break; case 10: case 15: case 23: case 24: set .@M$,"Mystical"; Break; } } if(.@M$ == "Onslaught" || .@M$ == "onslaught" || .@M$ == "OnSlaught") set .@i,1; if(.@M$ == "Swiftness" || .@M$ == "swiftness") set .@i,2; if(.@M$ == "Safeguard" || .@M$ == "Safeguard" || .@M$ == "Safeguard") set .@i,3; if(.@M$ == "Ranged" || .@M$ == "ranged" ) set .@i,4; if(.@M$ == "Mystical" || .@M$ == "mystical" ) set .@i,5; set .@X,atoi(.@atcmd_parameters$[1]); if(!.@X) set .@X,getd(""+.@M$+"Master"); switch(.@i){ case 1: dispbottom "Onslaught Lv: "+.@X+" "+OnslaughtExp+" / "+((OnslaughtMaster*OnslaughtMaster*25)+10+OnslaughtMaster)+"xp"; dispbottom "Str +"+(1+.@X/32)+""; dispbottom "Atk +"+(1+.@X/7+((1+.@X/7)*readparam(bStr)/100))+"%"; if(.@X >= 1)dispbottom "Critical +"+(1+.@X/20)+""; if(.@X >= 2)dispbottom "Atk +"+(1+.@X/4)+""; if(.@X >= 4)dispbottom "Weapon Atk +"+(1+.@X/4)+""; if(.@X >= 8)dispbottom "On-target impact chance +"+(1+.@X/21)+"%"; if(.@X >= 16)dispbottom "Base Atk +"+(.@X/4+1)+""; if(.@X >= 32)dispbottom "Crit Damage +"+(.@X/4+1)+"%"; if(.@X >= 64)dispbottom "Aspd +"+(.@X/22+1)+"%"; if(.@X >= 128)dispbottom "Splash attack radius +1"; break; case 2: dispbottom "Swiftness Lv: "+.@X+" "+SwiftnessExp+" / "+((SwiftnessMaster*SwiftnessMaster*25)+10+SwiftnessMaster)+"xp"; dispbottom "Agi +"+(1+.@X/32)+""; dispbottom "Aspd +"+(1+.@X/7+((1+.@X/7)*readparam(bAgi)/100))+"%"; if(.@X >= 1)dispbottom "Moving speed +"+(1+.@X/9)+"%"; if(.@X >= 2)dispbottom "Flee +"+(.@X/3)+""; if(.@X >= 4)dispbottom "Double Attack Chance +"+(1+.@X/9)+"%"; if(.@X >= 8)dispbottom "Perfect Dodge +"+(1+.@X/33)+""; if(.@X >= 16)dispbottom "On-target impact chance +"+(1+.@X/11)+"%"; if(.@X >= 32)dispbottom "Crit Damage +"+(.@X/9-1)+"%"; if(.@X >= 64)dispbottom "Critical +"+(1+.@X/20)+""; if(.@X >= 128)dispbottom ""+(1+.@X)" chance of healing for "+(1+.@X/24)+"% if the damage dealt with each normal attack"; break; case 3: dispbottom "Safeguard Lv: "+.@X+" "+SafeguardExp+" / "+((SafeguardMaster*SafeguardMaster*25)+10+SafeguardMaster)+"xp"; dispbottom "Vit +"+(1+.@X/32)+""; dispbottom "Max HP +"+(.@X*5+5+((.@X*5+5)*readparam(bVit)/100))+""; if(.@X >= 1)dispbottom "Natural HP recovery ratio +"+(1+.@X/2)+"%"; if(.@X >= 2)dispbottom "Def +"+(1+.@X/20)+""; if(.@X >= 4)dispbottom "Mdef +"+(1+.@X/24)+""; if(.@X >= 8)dispbottom "Max HP +"+(1+.@X/11)+"%"; if(.@X >= 16)dispbottom "Adds "+(.@X/20+1)+"% damage reduction against melee physical attacks"; if(.@X >= 32)dispbottom "Adds "+(.@X/21+1)+"% damage reduction against ranged physical"; if(.@X >= 64)dispbottom "Adds "+(.@X/22+1)+"% damage reduction against magical attacks"; if(.@X >= 128)dispbottom "Adds "+(.@X/23+1)+"% chance to evade Critical Hits"; break; case 4: dispbottom "Ranged Lv: "+.@X+" "+RangedExp+" / "+((RangedMaster*RangedMaster*25)+10+RangedMaster)+"xp"; dispbottom "Dex +"+(1+.@X/32)+""; dispbottom "Atk +"+(1+.@X/7+((1+.@X/7)*readparam(bDex)/100))+"%"; if(.@X >= 1)dispbottom "Moving speed +"+(1+.@X/20)+"%"; if(.@X >= 2)dispbottom "Critical +"+(1+.@X/21)+""; if(.@X >= 4)dispbottom "Flee +"+(1+.@X/11)+""; if(.@X >= 8)dispbottom "Aspd +"+(.@X/11)+""; if(.@X >= 16)dispbottom "Hit +"+(.@X/9)+""; if(.@X >= 32)dispbottom "Increases damage of ranged attacks by "+(.@X/9-1)+"%"; if(.@X >= 64)dispbottom "Crit Damage +"+(4+.@X/9)+"%"; if(.@X >= 128)dispbottom "Atk Range +"+(1+.@X/99)+""; break; case 5: dispbottom "Mystical Lv: "+.@X+" "+MysticalExp+" / "+((MysticalMaster*MysticalMaster*25)+10+MysticalMaster)+"xp"; dispbottom "Int +"+(1+.@X/32)+""; dispbottom "Weapon Magical Atk power +"+(1+.@X/7+((1+.@X)*readparam(bInt)/100))+""; if(.@X >= 1)dispbottom "Natural SP recovery ratio +"+(1+.@X/2)+"%"; if(.@X >= 2)dispbottom "Max SP +"+(.@X*2+2)+""; if(.@X >= 4)dispbottom "Skill casting time "+(-1-.@X/20)+"%"; if(.@X >= 8)dispbottom "SP consumption "+(-1-.@X/21)+"%"; if(.@X >= 16)dispbottom "Decreases skill delay by "+(1+.@X/22)+"%"; if(.@X >= 32)dispbottom "Increase heal amount of all heal skills by "+(1+.@X/2)+"%"; if(.@X >= 64)dispbottom "Matk +"+(.@X+7)+"%"; if(.@X >= 128)dispbottom "Prevents casting from being interrupted when hit"; break; default: dispbottom "@wi <Type> <Level>"; dispbottom "Type: Onslaught, Swiftness, Safeguard, Ranged, Mystical"; break; }
  3. @Stolao, The debug is still there. Tried unequipping the weapon the debug will appear. And login without weapon equipped, the debug will appear again.. I also find some minor errors [Error]: Missing 1 right curlys at line '317'. script error on line 138 parse_simpleexpr: unmatched ')' script error on line 258 parse_simpleexpr: unmatched ')' script error on line 273 parse_simpleexpr: unmatched ')' Anyway if I wanted them to use battle manual instead of job battle manual, do I just change (getbattleflag("job_exp_rate") + getbattleflag("job_exp_rate") * getstatus(SC_JEXPBOOST,2)) to (getbattleflag("base_exp_rate") + getbattleflag("base_exp_rate") * getstatus(SC_EXPBOOST,2)) ? And for the .expcurve, does it still have the same formula? The larger the .expcurve the harder to level up weapon mastery?
  4. Thank you kk updating my git as we speak Update Updated weapon mastery 1.20 -> 1.21 (technically same file) Thanks for updating. Btw where can I download the file?
  5. I'm using this Git Hash: '2fc20c460d02cfe55e2ec2399ec65250c6dd4da6' I already did this but debug is still there when unequipping a weapon and during login without a weapon equipped. prontera,50,50,0 script PCSTATCALC 111,{ end; Thank you
  6. The debug is still appearing when unequipping a weapon and during login without a weapon equipped. I didn't see this. XD Question - if I set .wLvBonus to 1, it wouldn't affect anything? the bonus exp will come from the weapon level only? I wanted the experience will come only from MVP. So I added this below OnPCKillEvent if ( !getmonsterinfo( killedrid, MOB_MVPEXP ) ) end; Can you give me suggestion what to put on .expcurve so that they won't be able to max level it within a day? bloody branch can easily be purchased on my server using zeny so it's easy to level it up plus the mvps give high exp.. I was thinking about they can max one weapon mastery if they keep hunting mvp for 2weeks(let's say playing 10hrs per day). I wanted it to be really difficult. XD
  7. I think the debug is caused by 'getequipid' since if it returns to 0, a debug will occur. I think it use 'getequipisequiped' before 'getequipid' Try to replace this under the OnPCStatCalcEvent removed @Stolao, Can you further explain this? 1) .expcurve is like experience rate right? what should I put here if I want weapon leveling to be more harder? 2) How much(in percent) does .wExpBoost, increase the experience rate? 3) What is wLvBonus? I can't quite get your current explanation Anyway this script is really awesome. I'm gonna put this on my server. Thanks for sharing. EDIT: Sorry, that won't fix it since Safeguard is also for Unarmmed. I also want to get rid of the debug XD
  8. As Zell said, change their name directly on your database..
  9. Is this patch already finished and would be stable if I applied it on my server? ra_hercmerge_mapzone by Lighta
  10. I've been using this. LINK OneCharPerGMAccount.patch
  11. Is it possible to track lost, hacked, etc items by their unique id? How does this work though?
  12. Is there anyway way to enable experience when killing another player? Just like when killing monster does. It autolevel up, add skill points and statpoints.. Thanks in advance. EDIT: solved using getexp
  13. is it possible to encrypt .INI files? im using rocred, and other programs that uses .ini files.. And don't want my players to modify it easily. So is it possible to encrpyt those files? Thanks in advance.c
  14. Thank you for this suggeston im actually using RoCred as a launcher., is it also possible to launch yourro.exe together with the another.exe using ro cred?
  15. How will it supposed to work using a bat file? And it will only work on windows user right?
  16. If you want to copy level 5 Plagiarism. just change skill "RG_PLAGIARISM",1; to skill "RG_PLAGIARISM",5; But I don't know if it's working now. I tried to use Plagiarism as an item bonus. The skill is there, but it can't copy anything.. Please let me know if you can copy the skills using plagiarism as an item bonus.
  17. Do you mean you're going to add custom mobs? You can put your custom mobs inside 'db/import-tmpl/mob_db.txt' //This can serve as a backup make sure to also copy the entries and paste it inside 'db/import/mob_db.txt' since this is the one that is read Just follow the structures here https://rathena.org/wiki/Custom_Mobs
  18. Is it possible to auto-launch another application after launching the client? Like after I launch GanjaRO.exe(client), app.exe("the another app") will auto-launched together with the client. It's like the GanjaRO.exe(client) is the trigger to open app.exe.. Please just moved this if incase I posted it on the wrong section. Thanks in advance!
  19. Server Info: Max Base Level: 254 Max Job Level : 70 Max Stats: 255 Pre-renewal Transcendent class only Now I need help/suggestions on how much skill points should I give the character so they can only set 1 skill to it's max level? Like if the job is Sinx If the sinx chose to be a dual dagger usage it will max the right hand master, but the katar mastery, sonic blow, grimtooth won't have it's max level For champion, if they chose asura strike type, the asura strike skill will be the max level, but for the other skills like Finger Offensive, Palm Push Strike, Heal won't have its max level. For LK, if they wish to be a bowling bash type, only bowling bash will have the max skill level.. Same goes for other jobs.. I have played a server like this around 2007.. But i don't have idea how much skill points they gave each job.. Any suggestions/advice/help please? thanks in advance!
  20. Ohh. Okay. I tested this on pre-re, maybe that's why it can't hit the 100Perfect dodge.. Maybe only for renewal.
  21. Perfect Hit is calculated above everything. 25 Perfect Hit / Guided Attack is literally a 25% chance of landing an attack regardless of all other factors. Regards, ~Azura Skyy What do you mean by above everything? I just tried it, and it won't land any attack on a player with 100 perfect dodge. Always lucky dodge even if perfecthit is set to 100.
  22. can you share it? xD just try this sample put this on an item or card and try to hit people with 100 PD or even high flee for sure they can't dodge it lol bonus bPerfectHitRate,100; bonus bPerfectHitRate doesn't hit 100PD. Only hits high flee(agi flee)
×
×
  • Create New...