Jump to content

Thanks for keeping RO alive + Tero's wacky modding adventures

Recommended Posts

I just wanted to stop in to say thanks to the Dev team for continuing to support this great game after all these years.  RO was a very important game to me in my youth and to see that the community is still active after all this time is amazing.  


Back in the old days, I always considered running my own server, but I only finally bit the bullet on it recently.  I never suspected that the entire server backend would be open-source!  As such, I modded the bejeezus out of it.


For starters, my server is PRE-RE, however, I backported almost all of the new content from Renewal into it.  Here is my Doram character in Malangdo.




It's actually pretty easy to pull renewal content into PRE-RE, since they use the same server backend.  To pull renewal enemies into pre-re is as simple as grabbing them from db/re's mob-db and mob-skill-db and pulling them into pre-re's mob-db / mob-skill-db.  Of course, renewal enemies have slightly different stats, in particular their "max attack" is their "matk" value and their def and mdef values are usually way too high, but that's easily fixed with SDE.  Ditto for items and cards, using item-db.  As far as the maps are concerned, they're already all in the game, they just don't have warps, so you just need to grab the npc/warps files from renewal and pull them into pre-re.  Many renewal dungeons are instances, so you can either pull the instance into pre-re, or do what I did and turn the instance dungeons into normal dungeon floors by adding warps and recreating their mob tables.


As for the Doram, it's fairly easy to add them too, I'll probably make a post explaining how to do it at some point.  The main thing you have to do is remove your service_korea folder from your prere grf file, which will allow the one from renewal that allows the creation of Doram to be used instead.  Then there's a flag in the server settings somewhere that you have to modify so the server won't reject character creation requests for Doram.  I'll write up something on this later.


The biggest thing I added by far is the ability to rebirth as Super Novice, Star Gladiator, Soul Linker, Ninja, Gunslinger, and Summoner.  It always annoyed me that the classes added after the first 12 never got the ability to rebirth, so I did it myself.  It's not possible (or at least I can't figure out how to do it) to add new classes to the game since class sprites are hardcoded in the client file, so instead the way I did this is that when you rebirth as one of the new classes, it unlocks a new "quest skill" which is a pre-requisite for their transcendent abilities.  The game also checks to see if you have this skill when it determines if you are transcendent (say, for equipping transcendent only armor or getting the 25% max hp / sp bonuses), and it also uses it to force you to the transcendent exp tables.  I'd love to share the code for this, but there's so many code changes that it probably can't be done without me just zipping up my entire codebase, which is also somewhat out of date.  By I encourage other intrepid coders to experiment!


A reborn Ninja's new skill tree.  Note the presence of a few Kagerou skills, despite the fact that he is a still a Ninja.  The "reborn" skill in the bottom left is the new quest skill that makes this possible.



For Ninja / Gunslinger / Star Gladiator / Soul Linker, they get a few skills from their next job as transcendent skills, with many alterations (for example, Soul Linker gains Espa and Eswhoo, but they don't require spirit energy to use, since it's not available.  In exchange they have much less power).  Summoner gets his post level 100 skills as transcendent skills, since the max level cap is 99.  Super Novice gets to become Expanded Super Novice.  I also added the ability for Novices to use bows, which required me to make a custom animation for this.  The dream of Bow Super Novice is finally real!



Beyond this, I also added like a hundred new pets.  They all have custom portraits and speech lines.  I put up a guide on how to add custom pets elsewhere on the forum if you want to do this.


This poor Lunatic is NOT ready for what's about to happen.



And then I manually rebalanced the effect of every card in the game and manually tweaked the exp and drop rates of almost every monster in the game.  My server is technically 10x, but the beginning feels like 5x or so, while the late game feels more like 20x, because lategame monsters give more exp.  I also fixed a ton of bugs and made a number of enhancements, for example if you use the whodrops command, it now shows exact matches first, so if you do "whodrops boots" you actually see slotted boots now!



At this point, there's probably some room for debate as to whether or not this game is still Ragnarok Online or something else entirely, but I'm having fun with it.  The only problem is that now my regular job seems boring by comparison.  Having complete control over the codebase for one of the best games of all time is pretty much impossible to top.  Oh well.  Everyone reaches the pinnacle of their career sooner or later.


I'm sorry if this sounded like a giant advertisement.  Actually, my server will probably never be open to the general public.  However, where my code is easily distributable I'll probably make some of it available.  I've already put up a couple topics sharing some of the files I've written, and I'll probably try to put up a few more once everything is adequately tested (I've also crashed my server about a hundred times already).  

  • Upvote 6
  • MVP 1
  • Like 1
Link to comment
Share on other sites

7 hours ago, sapitosucio said:

I demand to know what happened to that little Lunatic.

Atroce hit him with Pulse Strike for about 3500 damage.  Poor bunny.



A couple other things I forgot to mention before.


I also created two completely new enemies.  RO has official pet art + accessories for two new pets, Scatleton and Skelion, who don't exist in the mob-db at all (they have sprites, but their entries are just stubs), thus they cannot exist as pets.  So I created them myself.


Scatleton is a sneaky kitty, his AI is a mix of Frilldora and Matyr, and he stalks people around Niflheim



Skelion is a miniboss in Niflheim's first area.  His Scatleton mob is cute but deadly.  Both of them drop some Doram-related stuff as well as their taming items and accessories.



The Bathory pet is a pretty good one, she uses Energy Drain, which I changed so that when a pet uses it, it heals your SP a little.  Hunter Fly's Blood Drain also does this, but with HP.  I can share the code for this one as this is quite simple.  The change is in skill.cpp.  Just find and replace the case statements for BLOODRAIN and ENERGYDRAIN with these.  You could easily add a similar effect to any skill using the "if src-type == BL_PET" part of the code.

		int heal = (int)skill_attack((skill_id == NPC_BLOODDRAIN) ? BF_WEAPON : BF_MAGIC,
			src, src, bl, skill_id, skill_lv, tick, flag);
		if (heal > 0) {
			if (src->type == BL_PET) {
				// pet heals owner instead of itself
				clif_skill_nodamage(NULL, (struct block_list*)((TBL_PET*)src)->master, AL_HEAL, heal, 1);
				status_heal((struct block_list*)((TBL_PET*)src)->master, heal, 0, 0);
			else {
				clif_skill_nodamage(NULL, src, AL_HEAL, heal, 1);
				status_heal(src, heal, 0, 0);

		int heal = (int)skill_attack((skill_id == NPC_BLOODDRAIN) ? BF_WEAPON : BF_MAGIC,
			src, src, bl, skill_id, skill_lv, tick, flag);
		if (heal > 0) {
			if (src->type == BL_PET) {
				// pet heals owner instead of itself
				//clif_skill_nodamage(NULL, (struct block_list*)((TBL_PET*)src)->master, AL_HEAL, 0, 1);
				status_heal((struct block_list*)((TBL_PET*)src)->master, 0, heal / 15, 2);
			else {
				clif_skill_nodamage(NULL, src, AL_HEAL, heal, 1);
				status_heal(src, heal, 0, 0);


The one I like the best though is Moonlight Flower.  She attacks with Mammonite, which drains YOUR money!  I specifically added a check to this skill to drain your cash if it used by a pet, because I think this is hilarious.


She also eats Topaz and constantly praises how wealthy and handsome you are.  What a gold-digger!  You get what you pay for, though, she's strong.


I also reimplemented most of the missing Sograt Desert maps.  This is easy as they are still in the game, they just have their warps commented out in npc/pre-re/warps/fields/morroc_fild.txt.  I moved the Sograt Exclusion Zone map to where Sograt Desert 17 was (Phreeoni's old map).  It also now has proper exits rather than trapping you on that map.  Exiting to the bottom right leads to the Satan Morroc Maps.



The method to access the new world is also changed on my server, the dimensional gorge on Morroc field 22 now leads to the Bifrost bridge, because I think this makes sense lorewise.  After you cross the bifrost bridge you come to bifrost tower, which eventually exits to Splendide.  This is relevant because on my server, you cannot teleport to any town or dungeon unless you've already been there, so it's quite a trek to Splendide.  Satan Morroc himself is at Flame Basin, which lies past Manuk, probably the farthest point in the game from where you start.  Oh, and don't think you'll just warp to Thor Camp via the cats, I disabled that.


I also kiboshed the Battlegrounds, as I always thought the battlegrounds equipment was far too strong for PVP.  If you want to fight other players, you'll have to farm Hydra and Thara Frog cards like we all had to back in the old days.  Similarly, a lot of the new equipment like the Elemental Sword has been nerfed to be more in line with the PRE-RE equipment in terms of power.  All of the guild-dungeon exclusive enemies have new spawn locations too.

Edited by Tero
More stuff.
  • Upvote 1
Link to comment
Share on other sites

My cat is finally rebirthed!  I can't believe nothing broke!  He even got the correct number of status points and everything.  I'm the king of scripting.


Back to Toy Factory for me.



Now I can learn the cat's (originally) post level-100 skills.



Besides all the new content, my server also has a boatload of skill tweaks (this is part of why I don't just share my code directly, there's hundreds of changes most people probably won't want).  For example, the first skill in each of the cat skill trees can now level to 10 instead of 5, to give you more options in terms of how you spend your points pre-rebirth.


The initial skills for Summoner are also buffed, particularly the nearly-useless Bite and Scratch.  These are both worthless 200% damage skills initially, that you would literally never use once you have anything else.  I tweaked it so that they now have 100 + <your base level> * 10 % attack, (only *5 for scratch).  Bite also has a chance to Stun and does more damage to weakened targets, making them very viable at high levels, with the caveat that Bite is a melee skill with cast time, so unless you have uninterruptable cast, a ton of flee, or tons of cast speed reduction you're going to get hit out of it a lot.  At any rate, I think this is interesting because this now means you could go healer cat and have a fairly viable form of offense that requires no further skill point investment, though obviously the loss of the range from Picky Peck is an issue.


Soul Attack is also now a 5-level skill which functions similarly to a mastery skill, and enables long range attack at maximum level.  This is a fairly substantial nerf, but mastery skills on my server work like they do in the newest version of the game, where they increase your atk rather than final damage, so they're not worthless.



Summoner also has, initially, probably the single most broken skill in the game in Silvervine Root Twist.  This is a ranged skill with instant cast that completely freezes the enemy's movement with 100% success rate for 10+ seconds.  I shouldn't need to tell you how ludicrously busted this is on a character that has powerful ranged attacks.  The second you learn this skill, you are essentially completely invincible to almost all normal mobs.  I was able to waltz into area 30+ levels above me with no issues by just grabbing anyone who looked at me funny.  I have no clue who looked at this skill and thought this was fine.  Obviously this had to be adjusted.


On my server, Silvervine Root Twist has a 1.5 second cast time and about 1/4 the duration (4 sec at max level).  It's still a ludicrously good skill which I think almost any build wants to take, but it no longer completely explodes the game balance.


Stop hitting me!  I'm supposed to be invincible!  (Not pictured: my untimely death)


On the flip side, Scar of Tarou is greatly buffed, in that the damage over time effect is greater and can work on bosses (albeit at only 25% of the power) if you have Spirit of Life.  With the aid of a powerful tank, Scar of Tarou can handle almost all your DPS needs, so that could be another interesting option for support cat.  The only issue is that its power scales with STR instead of DEX, as it does in the base game, so if you have no STR it will be weak.


Speaking of, I've even tweaked the way the stats work slightly.  For example, every time you get 10 VIT, you now get a point of DEF.  I always thought it worked this way initially, but apparently it never did.  Well, now that I have absolute power, I can make it work however I want.  Actually, every stat gives you some kind of bonus for every 10 points now.


The sky's the limit in terms of what you can do with this game.  I've tried to generally stick to (my interpretation of) the general balancing of the game prior to the battlegrounds update, since I wanted to make the game what I think it might have become if Renewal had never existed, but you could take it in pretty much any direction you want.  This game really is a modder's dream come true.

Edited by Tero
  • Upvote 1
Link to comment
Share on other sites

I've been fiddling a lot with skills lately.


For starters, I've been playing Sage.  Sage has always felt like a bit of an underwhelming class to me.  A big part of this is that it gets very few new damage spells.  So I made a new one.


Poison Splash is basically just Poison-element Fire Ball, it does AOE Magic Poison damage and can also inflict the Poison status.  On my server, Poison does extra damage against Neutral (I think this makes sense, since Assassins use it and the main targets that are Neutral are players), so this spell is quite useful against Ridewords and the like.  I also think it works well for Sage since Sage is intended to be a PVP-focused Mage and this is a pretty decent PVP spell.  That said, you have to watch out because a number of enemies can cast this spell against you!


I also buffed Professor's Memorize skill, which I've renamed to Lecture.  Like the Summoner Buffs, it now also applies this buff to all party members on the screen.  I think this makes thematic sense with the class being called "Professor" but doing no actual teaching previously.  It was also a move which, in my opinion, didn't have a ton of utility for Professor, as they tend to either use fast-casting spells or autocast, but has a ton of potentially interesting utility for other characters and enhances the "Support Sage" playstyle.



Beyond this, something I think is super cool is that I've added some cards that allow you to cast previously enemy-only skills.  For example, here my Paladin has the Dark Priest Card, which allows you to cast Soul Strike of Darkness.


It even has a proper description in the skill window and everything.


This was surprisingly painless to pull off.  You need to add entries for the enemy spells (in this case NPC_DARKSTRIKE) to skilldescript.lub and skillinfolist.lub (these are in the GRF file under skillinfoz), and add entries for the spell in skill-cast-db and skill-require-db and that's about it, then just have the card script look something like "skill "NPC_DARKSTRIKE", 5;" and you're good to go.

I have cards like this for Grand Darkness, Darkness Jupitel, Blood Drain, and Energy Drain, but none of them are easy to get your hands on.  Still, it's cool to have more options for dealing Darkness damage.


I also almost completely reworked Endless Tower.  For starters, I moved it.  It was originally accessed via Alberta, like far too much of the game (like 8 different towns are accessed through there), so it's now where Misty Forest Labyrinth used to be at Bifrost Field 1.  The condition where you have to wait a week between attempts is also now gone, you can now play it as much as you like, but creating the instance costs 500k Zeny.

The difficulty of the tower has also been rebalanced.  Previously, it was kind of ludicrous, forcing you to fight many of the hardest bosses in the game, like Ifrit and Beelzebub.  You now generally fight the low to mid tier bosses, with a number of bosses who didn't previously appear in the tower, like Gopinich, Boitata, and Stormy Knight making an appearance.


I also tweaked the enemies that spawn on pretty much every floor.  There's generally less of them, and they're themed based on various locations in the game.  For example, can you identify the map that this floor is based on?


I also gave Endless Tower a huge music buff, in that it now plays the previously unused track 168 (well, this is used for Lasanga dungeon in Renewal, but that map isn't in Pre-Re), which I think fits perfectly with this dungeon.  If you ever want to edit which songs play where, this is very easily done by editing mp3nametable.txt, which is in root folder of one of your GRF files.  (I also restored Track 67, which currently doesn't play anywhere, it now plays on the maps north of Yuno).


There are also kafras and shops within Endless Tower (though the Kafras only allow you to use the storage. no saving), to somewhat mitigate how absurdly many items you tend to get here.  Additionally, when you clear floors 25, 50, 75, and 99, the warp in the first room is replaced with a new warp that takes you to the appropriate floor (the concept of the Ashes is removed).  Overall, I think this makes this dungeon a lot more fun.

  • Upvote 1
  • MVP 1
Link to comment
Share on other sites

A small update this time, but something I'm quite pleased with.


Meet Pere!  Players of Renewal might recognize Pere from Jitterbug of Nightmare, which I recently implemented on my server.  (Which, as mentioned above, is PRE-RE, I've been porting all of Renewal's content to it).


Pere is quite special.  Besides being super cute, she can also serve as your ensemble partner!


There are two Peres that you can get as pets, one dances and one plays the guitar, and whichever one you are, you need the other one.

Someone on my server has been complaining since day 1 about the necessity of being joined at the hip with a Bard and I think this is a good compromise that preserves the intent of the ensemble skills while also making them a little more accessible.


If you want to add this functionality to your server, it's actually pretty easy from a coding perspective.  You just have to find the method "skill_check_condition_castbegin" in skill.cpp, then find this code:

	else if(inf2[INF2_ISENSEMBLE]) {
	    if (skill_check_pc_partner(sd, skill_id, &skill_lv, 1, 0) < 1 && !(sc && sc->data[SC_KVASIR_SONATA])) {
		    return false;

And replace it with this:

	else if(inf2[INF2_ISENSEMBLE]) {
		// check to see if we have the ensemble pet
		bool ensemblepet = false;
		if (sd && sd->pd) {
			if ((sd->status.class_ == JOB_BARD || sd->status.class_ == JOB_CLOWN) && sd->pd->pet.class_ == 3069 && sd->pd->pet.intimate > PET_INTIMATE_LOYAL) {
				ensemblepet = true;
			if ((sd->status.class_ == JOB_DANCER || sd->status.class_ == JOB_GYPSY) && sd->pd->pet.class_ == 3070 && sd->pd->pet.intimate > PET_INTIMATE_LOYAL) {
				ensemblepet = true;
		if (!ensemblepet && skill_check_pc_partner(sd, skill_id, &skill_lv, 1, 0) < 1 && !(sc && sc->data[SC_KVASIR_SONATA])) {
		    return false;

Of course, you also have to pull everything from Jitterbug of Nightmare into PRE-RE, then implement the Peres as custom pets, but at least the coding part is simple!  (alternatively, you could just use a different pet, like maybe a Rocker or something, you can just change the id number it looks for in the pet.class_ part).

  • Upvote 2
Link to comment
Share on other sites

To no one's real surprise, it didn't take long after I learned how to make new skills for me to go mad with power.


Something that's always bothered me is that some classes barely have more skills to take than they have skill points.  The two worst offenders are Thief and Archer, who have 51 and 50 total points of skills respectively.  If you max your first job, you get 49 job points, which leaves you with only 2 / 1 skill levels not to take.  This is pretty dumb and effectively gives you no freedom in how you build these classes.  So these were the first ones to address.


For Thief, they now have two new skills, Gouge and Reprieve, both of which are passives.


Gouge is a 10-level skill that gives you a chance to inflict Bleeding when regular attacking with a dagger-class weapon, or when using Back Stab.  When it came to thief, I feel like the idea behind the class is to use a lot of auto-attacks, so I wanted a new offensive skill that fit with that playstyle.  I don't think I'd usually take this on Sin, but I guess it could be useful to double dagger Sin.

Reprieve is a 5-level skill that allows you to get a little bit of HP recovery while Hidden / Cloaked / Chase Walking.  The recovery isn't much, and the requirement to take Hiding level 10 is steep, but it can add up over time, particularly with Cloaking.  I think this skill is pretty good, but you'll have to give up one of the other skills to get it.


Speaking of Bleeding, it's a bit annoying to attack with because by default, there's no indicator when a target has been successfully hit by it.  Maybe my client is just out of date, but I added one anyway.  Now, when you bleed a target, they do this.



If you want this functionality in your server, it's quite easy to add.  Just find this in skill.cpp

		case SC_BURNING:
			tick_time = status_get_sc_interval(type);
			val4 = tick - tick_time; // Remaining time

Remove the "case SC_Bleeding" line, then insert this below:

			tick_time = status_get_sc_interval(type);
			val4 = tick - tick_time; // Remaining time
			clif_emotion(bl, ET_HUK);

I also added something similar for Crystalize as well, as that also didn't have any kind of visual display.


Moving on to Archer, it also has two new skills.


Bullseye is a 10-level skill that increases your crit rate and damage.  This is an awesome skill, on a class that would almost never use it.  I guess if you're building for some kind of high-aspd auto-Blitz Beat build you could take it, but generally I just liked the idea behind it.

Organization is a 5-level skill that increases the amount you can carry before you're considered to be overweight by 5% per level.  On the other hand, this is a skill I really want on a low-STR character like Archer.


These skills bring Thief and Archer up to having 66 and 65 skill levels available.  Much better!  Now, the lowest is actually Merchant at 61.  So I also gave Merchant one new skill in Lucky Pennies, which adds a small chance to find a bit of Zeny after killing an enemy, similar to the Cramp card.  It probably won't offset the money you're burning on Mammo, but at least it's something.  Super Novice can also learn all 5 of these skills.


But of course I wasn't done there.  Hunter also has much the same problem as Archer where it just doesn't have enough skills to take,  Technically it has 82, but the vast majority of these are irrelevant trap skills that no one ever uses.  So I made a couple tweaks.  For starters, Blitz Beat now has 10 levels.  I've done this with a few skills, and it's generally the case that at level 10, the skill is a little better than it used to be at level 5, but of course you have to spend 5 more points on it.  In Blitz Beat's case, at level 10, it now hits 6 times (it used to hit 5 times at level 5), and the chance of auto-blitz beat improves.  You'll want to max it, too, because Falcon Assault now relies on Blitz Beat's level for its damage calculation (Falcon Assault is essentially a max-level Blitz Beat that does bonus damage and ignores your defense).  I'm incredibly wary of buffing Falcon Assault because it was a gamebreaker in the past, but there are more cards that can defend against it now (the "MISC" defense type defends against Falcon attacks).


Hunter also gets a totally new attacking skill in Tranquilizer.  This is an active skill that fires an arrow and has a chance to inflict Sleep.  It's not too powerful and requires a fair bit of SP, but I imagine this could be useful in PVP.


It requires you to know the Sandman Trap, so that at least gives you a little incentive to take the trap skills.


Gypsy and Minstrel also have a new passive skill that gives them a buff to their perfect dodge while dancing, and Throw Arrow / Melody Strike are also more powerful while Dancing.  Generally, I want Dancing to feel a bit more useful, particularly when soloing, as these classes tend to just build for Arrow Vulcan and not much else.


However, the granddaddy of all changes was to the Star Gladiator class, which is almost a completely different character now.


The biggest issue with Star Gladiator is that my server has rebirth for all classes, and Star Gladiator gets SJ_Document as a rebirth skill.  SJ_Document allows you to reset your target maps and mobs nearly for free (on my server it requires a 2-carat diamond to use), which is cool but causes a bunch of problems.  See, the thing with Star Gladiator is that the skills for the Sun, Moon, and Stars are all almost identical.  This kind of makes sense initially, as the idea is that the fact that you basically get 3 copies of those skills gives you redundancy, since those choices are permanent.  However, once they become impermanent, there's now no real reason to bother having 3 copies.  You can just focus on one of the three, and reset whenever you want to target something else.  As such, I pretty much completely redesigned all of the skills so that the Sun, Moon, and Star skills are all different from each other.

The Comfort Skills are the only ones that were originally appreciably different from each other, so they are untouched.

For the Warmth Skills, Warmth of the Sun is now a self-target heal, and Warmth of the Stars is now self-target Assumptio (Warmth of the Moon remains as the barrier effect).


For the anger skills, the Sun remains untouched in increasing your damage.  Moon now increases your damage resistance, and Stars gives you extra critical chance.

For the blessing skills, Sun remains untouched as extra exp.  Moon gives you extra drop rate (albeit, not much extra as drop rate is very centralizing), and Stars gives you bad status resistance.

Finally, Star Gladiator also has a bunch of new skills.  Taekwon Mastery is a passive that increases the chance to activate Taekwon Kicks.  You also need it to take SG_DEVIL.  Vision of the Sun, Moon, and Stars is a transcendent passive that counteracts SG_DEVIL, and if levelled to max, you gain permanent intravision (which lets you see hidden targets).  Memory of the Sun, Moon, and Stars lets you warp to the map you set as your special map from anywhere (if used on the map itself, it acts like teleport level 1).  Wrath of the Sun, Moon, and Stars is a strong debuff to attack speed and defense that you can use on any of your target mobs, and it's one of the only debuffs in the game that does work on bosses.  Finally, there are 3 powerful new Magic attacks, Power of the Sun, Moon, and Stars.  These are strong, uninterruptable spells, but they can only be used on the appropriate Map, or against the appropriate Target (ie, you can use Power of the Moon against any enemy on the Moon map, or against the Target of the Moon, on any map).  Besides being strong, these also inflict status effects, Burning for Sun, Crystallize for Moon, and Paralyze for Star.  Of course, the caveat is that this requires you to take at least some Int if you want them to do any real damage.


(Why is it always poor lunatics getting obliterated by powerful attacks?)


At any rate, I think this class is vastly more interesting now.


The last rework is to Blacksmith.  Skill-wise, Blacksmith isn't very changed, other than that Hammer Fall can now go to level 10.  The bigger issue with Blacksmith is forging, specifically, the fact that there's no reason to ever bother with it.  The weapons the Blacksmith can forge have no slots (and cannot have slots, the game stores the forging information in the card slots), and the bonuses given from forging are small, so they're pretty much always outclassed by stuff you can find easily.  The latter issue is somewhat easily solved, I simply increased the power of the materials the Blacksmith can add to weapons.  Star Crumb now also gives a little bit of crit bonus, and if the Blacksmith is a ranker Blacksmith, their weapons also give a small Aspd bonus.  This is enough to make the top-end weapons they can forge at least somewhat viable.

But what about the others?  Blacksmiths can forge a ton of different weapons, but even with the buffs, these are all totally worthless.  Ragnarok makes weaker weapons viable by giving them higher numbers of slots, but since all Blacksmith weapons are unslotted, the strongest ones are obviously the best.  So I came up with an inventive solution for this.


Weapons forged by Blacksmiths now have unique, card-like bonuses, which differ by weapon.  It achieves this by having the Blacksmith forge the previously unused double underscore version of weapons (such as knife__), which now have bonus scripts attached to them.  For example, a knife forged by a blacksmith now gives 5 Agi and 5 Dex.


(I know what you're thinking, but this isn't instantly the best weapon to hold while making potions or whatever.  Lunatic cards give 2 luk, so with a 4 slot weapon you can get 8 luk.  It's a decent option until something better is available, though).

Meanwhile, a Trident gives +50% bonus damage to Fish enemies.  This would be good to use with Wind element!


They're all different, save for the top end weapons, which have no bonuses, since they're already the most powerful.  I don't think any of the weapons you can forge have "best in class" power, but they're now things that could definitely be useful before the very best equipment is available.  It's at least much more interesting to fool around with now.


Wow, this was long.  Much of this is relevant to my super secret project which I'm still working on, but that's still a long way from being finished.


I don't think we're in Kansas anymore, Toto...

Edited by Tero
  • Upvote 2
Link to comment
Share on other sites

On 11/23/2022 at 2:25 PM, Tero said:

A small update this time, but something I'm quite pleased with.


Meet Pere!  Players of Renewal might recognize Pere from Jitterbug of Nightmare, which I recently implemented on my server.  (Which, as mentioned above, is PRE-RE, I've been porting all of Renewal's content to it).


Pere is quite special.  Besides being super cute, she can also serve as your ensemble partner!


There are two Peres that you can get as pets, one dances and one plays the guitar, and whichever one you are, you need the other one.

Someone on my server has been complaining since day 1 about the necessity of being joined at the hip with a Bard and I think this is a good compromise that preserves the intent of the ensemble skills while also making them a little more accessible.


If you want to add this functionality to your server, it's actually pretty easy from a coding perspective.  You just have to find the method "skill_check_condition_castbegin" in skill.cpp, then find this code:

	else if(inf2[INF2_ISENSEMBLE]) {
	    if (skill_check_pc_partner(sd, skill_id, &skill_lv, 1, 0) < 1 && !(sc && sc->data[SC_KVASIR_SONATA])) {
		    return false;

And replace it with this:

	else if(inf2[INF2_ISENSEMBLE]) {
		// check to see if we have the ensemble pet
		bool ensemblepet = false;
		if (sd && sd->pd) {
			if ((sd->status.class_ == JOB_BARD || sd->status.class_ == JOB_CLOWN) && sd->pd->pet.class_ == 3069 && sd->pd->pet.intimate > PET_INTIMATE_LOYAL) {
				ensemblepet = true;
			if ((sd->status.class_ == JOB_DANCER || sd->status.class_ == JOB_GYPSY) && sd->pd->pet.class_ == 3070 && sd->pd->pet.intimate > PET_INTIMATE_LOYAL) {
				ensemblepet = true;
		if (!ensemblepet && skill_check_pc_partner(sd, skill_id, &skill_lv, 1, 0) < 1 && !(sc && sc->data[SC_KVASIR_SONATA])) {
		    return false;

Of course, you also have to pull everything from Jitterbug of Nightmare into PRE-RE, then implement the Peres as custom pets, but at least the coding part is simple!  (alternatively, you could just use a different pet, like maybe a Rocker or something, you can just change the id number it looks for in the pet.class_ part).

Really cool. Where do you get those pet images and how do you put them on the client?

Link to comment
Share on other sites

I put up a guide on how to make a custom pet in another part of the forum which goes over everything about making them in a lot of detail.

The short version is that you need to modify petinfo.lub, which is stored inside the datainfo folder (you can just search for it with GRF editor).  Of course, you need to add the new illustration to the GRF file as well.  If you want to make the pets talk, that's also in the GRF file, in pettalktable.xml.  The thread explains more about how to modify these.


As for the images, I'd love to say there's an easy way to get these, but there's not really.  I just search for the pet I want to make on Google, and if there's a good piece of fanart, I use that, if not, I meticulously edit the card art.  In some cases I even have to redraw parts of the art that are cut off, for example in the picture above the card art actually cuts off Pere's fingers on one hand so I had to draw them, luckily the resolution is low so you can't tell.  Of course, if you're not a crazy person you could just use one of their sprites or something, which I did for a couple monsters whose card art wasn't suitable.

  • Upvote 1
  • Love 1
Link to comment
Share on other sites

1 hour ago, Tero said:

I put up a guide on how to make a custom pet in another part of the forum which goes over everything about making them in a lot of detail.

The short version is that you need to modify petinfo.lub, which is stored inside the datainfo folder (you can just search for it with GRF editor).  Of course, you need to add the new illustration to the GRF file as well.  If you want to make the pets talk, that's also in the GRF file, in pettalktable.xml.  The thread explains more about how to modify these.


As for the images, I'd love to say there's an easy way to get these, but there's not really.  I just search for the pet I want to make on Google, and if there's a good piece of fanart, I use that, if not, I meticulously edit the card art.  In some cases I even have to redraw parts of the art that are cut off, for example in the picture above the card art actually cuts off Pere's fingers on one hand so I had to draw them, luckily the resolution is low so you can't tell.  Of course, if you're not a crazy person you could just use one of their sprites or something, which I did for a couple monsters whose card art wasn't suitable.

Ohh. There's that, I didn't check earlier, but I'll look into this. Thank you. 

Link to comment
Share on other sites

I've been sick for the last week, which is lame, but it means I basically had nothing to do but work on RO, so I can actually show off my secret project a little earlier than expected.  It's a massive new expansion to the game that adds about 65 new maps.


It all begins with this NPC in Morroc:


He tells you about Satan Morroc, which is kind of important because fighting him is quite different on my server.  


Next, you have to go ALL the way to the end of the New World to find Satan Morroc and kill him (or rather, be alive and on the map when he dies).  Moro_Vol is where Dicastes would normally be.



We then return to the old man to learn of a secret mission.  It turns out the old man is actually a very aged version of Thanatos, who sealed Morroc orriginally.  Unfortunately, Satan Morroc will revive endlessly, so if we want to get rid of him for good, we would have to travel back in time to the past and kill Morroc the wizard, before he ever became Satan Morroc.


As part of this mission, we have to be reborn again.  Assuming you're already max base / job level, we are converted back into a novice (albeit, a very special novice), and we're whisked off to the past.


If this place looks different, it's because we're actually in the world from the Alpha!


There's a lot to know about the past maps.  For starters, you're stuck here for a while.  You can't return to the present until base level 80 (you're warned about this ahead of time), not even Warp Portal, Guild Recall, or the Marriage skills will get you out.  The Past maps have a special map flag, and if you try to warp between two maps that don't have the same setting for that flag, it doesn't let you.


Secondly, the monsters here are much tougher.  All monsters in the past do double damage and take only half.  This is also handled via a mapflag.

A Poring does 28 damage?!  Better get Vit!



However, it's not all bad, you're stronger too.  As a second transcendent character, which are called Time Travelers, you have the standard increased HP and SP totals (which go beyond even what Transcendent characters get), but you also get some new bonuses.  Your second job can gain 10 more levels (this is why jobs with low skill point totals needed more skills), which also means more job bonuses.  Everyone also gets one new skill (which you learn for free upon becoming a Time Traveller) called Time Slip, which gives you 2 seconds of total invincibility and can break out of control effects.  However, it has a 5 minute cooldown.  Perfect for a quick escape when a Lunatic hits you for over half your HP in one hit!  This must be revenge for all the Lunatics I murdered in the present.



There's all kinds of new stuff in the past.  There's about 15 new bosses and a ton of new enemies.  Most of the dungeons are from the alpha, but a few are areas I didn't use previously, like Orc's Memory, which becomes the past version of Orc Dungeon.


You can visit Glast Heim before it got destroyed, which I think is cool.


This area uses the elemental knight enemies, which apparently are from Puzzle and Dragons.  I actually created the Wind Knight by heavily editing the Stone Knight, as there wasn't a Wind Knight initially.


You can visit the first ever Kafra, back when it was just a lowly inn (it's located roughly near where Aldebaran would be on the map, which I think is a fun little touch as Kafra headquarters is there).



You can visit the future site of Gonryun and talk to the kid who turns people into Soul Linkers (on my server, he's in Gonryun).  He can trade you some headgears.



You can head to the desert town that will eventually be called Morroc and hear the original, undestroyed version of the Morroc town theme!  So nostalgic!



And of course, you can fight your way through Morroc's fortress to reach Temple of the Demon God and defeat Morroc once and for all.  He's actually a 2-stage battle, where you fight his younger form first before fighting Despair God Morroc.



Some of the new enemies drop cards that you can use to gain access to some of the third-class skills (generally the weaker, non-class defining ones), like this one that lets you use Axe Boomerang.

Thank the gods!  An attack skill that doesn't cost money to use!



Of course, there's all kinds of cool new equipment too.  One of my favourites is a scythe called the Soul Eater that lets you cast Soul Breaker.

Casting Soul Breaker with a Scythe is actually the sickest thing ever.



There's way too much to possibly go over.  While nowhere near the size of the present map, the past maps probably add around 15% more content to the game.  Plus, it's just super cool to be able to run around the areas from the Alpha.  I've had this idea cooking up in my head ever since I saw the game's original intro video, which showcased the alpha maps.  Combined with the fact that I had been considering adding Despair God Morroc into the game, it just made too much sense to do it this way.


Programming-wise, this was not a particularly complicated change, it was just a ton of map editing, scripting, and database entries.  None of the past maps came with warps, of course, so I had to make all of those, as well as all of the NPCs, and all of the stats for the new enemies, none of whom existed in any database.


You might be wondering why I decided to add another rebirth instead of just adding in the third jobs.  While that certainly would have been possible, I feel like there's just no way to balance the third jobs within PRE-RE.  Pretty much the entire reason Renewal exists is to drastically revamp the game so that third classes can exist, otherwise they'd just one-shot everything in PRE-RE and have way too much health and stats for anything to be a threat to them.  The brilliance of transcendence is that it adds a lot more playtime for a fairly small increase in total power.  Plus, if I did keep you at a high level, the past maps would have to contain purely endgame-level enemies.  This way, they can have the regular enemies, closer to what they might have had originally, but it still provides a challenge.  Plus, not all of the classes have another job available, like Summoner for example.


You might also be wondering why everything in the past does double damage.  This is mainly so that it's still challenging.  When you rebirth the first time, the game becomes easier, because you have better stats and equipment but the enemies don't become any harder until you venture into the hardest dungeons, like Odin's Temple and Thanatos Tower, which you probably won't visit before you rebirth.  I've done a ton of tweaking of the transcendent exp curves to try to stop transcendent characters from feeling trivial to level, but it's still definitely a little on the easy side.  Playing in the past is interesting because it's actually harder than playing the game the first time, you really have to use all the tools at your disposal to avoid becoming Lunatic chow.  If you never made good equipment for first-job characters, now's the time to do so.


Of course, I'm sure there's still a ton of bugs to fix and balancing to do, but this will probably be the last major thing I add to the game (granted, I've said that before).  There does eventually come a point where the game just has enough stuff.  Now I should actually probably spend some time playing it instead of just scripting stuff all the time.

Edited by Tero
  • Upvote 1
Link to comment
Share on other sites

Been on a little bit of a break after all the work I did on RO recently, but I've been filling in a bit of content here and there.


For starters, I finally got marriage working.  The custom marriage script that came with my distribution had a few bugs.  I'm not sure if they are fixed in the latest version, but I've included the fixed version in this post.   Here's the happy couple.  (Not pictured their previous 6 divorces while I debugged the script)


In order for this to work, the wedding rings need to be marked as married partner tradeable, which they weren't initially in my distribution (this is bit flag 511 in item-trade.txt).  Also, for some reason, the Tuxedo was marked as an etc item, I restored it to being an equippable item as it was before.

I've also been adding some new stuff here and there.  For starters, there's now a new dungeon in Jawaii called the Tunnel of Love.  It's accessed via this NPC in Jawaii.


This place is pretty unique.  For starters, he won't even let you in if you don't have your wedding ring equipped, and if you take it off in the dungeon you get warped out (this is achieved via an unequip script on the wedding ring, which only activates on this particular map).  The map itself is a reskinned version of Beach Cave North, but it plays track 172, which I think fits well with it.


There are a couple new enemies here and a new boss, but it also has a lot of pairs of enemies like Poporing and Marin, and Bongun and Munak.  The boss is a fairly unique one called The Lovers, which consists of two boss-like entities who have comparable power.  The female is the "main boss", if you defeat her they both die, and the male enemy is the summon, but she will only summon him on spawn and never resummons him if he dies.  As long as he's alive, he tries to heal her and cast buffs on her, so you kind of want to target him first, but she starts using NPC_POWERUP once he goes down (this uses the same check on number of living slaves that bosses typically use to respawn their summons).  They drop a couple different things, but the real prize is the Lovers' Ring, a slotted accessory that gives an incredible +2 to all stats, making it easily the best accessory in the game.  The catch is that it only works if you're also equipping your wedding ring in the other slot, which significantly limits its power.  Actually, pretty much everything unique you can get in here is connected to the wedding ring in some way.  I mainly wanted a way to make wearing the wedding ring kinda viable.  Obviously, under normal circumstances you just keep it in your inventory and only swap to it when you want to use the wedding skills, but I think this gives you some fun options if you'd prefer to keep it equipped.  This also means that for characters who are single, the fact that they can't come to this dungeon isn't a big deal.


I also added a boss based on Red Scar from Ragnarok 2 to the Cave Dungeon in the past.


This area bares some resemblance to where you fight him in RO2 and RO2 takes place in the past compared to RO1, so I thought it was a fun little touch.  He's quite an easy boss, not much more powerful than GTB, which makes sense because he was one of RO2's earliest bosses and this area is one of the first you can access in the past.  I also don't know if I ever talked about the Humanoid Chimera pet.  She's the hardest pet to get in the entire game (she requires killing T_W_O, who is close to Satan Morroc in power), but her pet skill is that she can give you Soul Link.  This actually uses a completely new skill called "SL_OMNI" which calls all of the other soul link spells depending on the target's class.


You might be wondering how I created these new bosses.  Actually, it was very easy.  You can probably tell that they're using the sprites of existing enemies, namely Succubus, Incubus, and Desert Wolf.  RO has a file in the System subfolder under the client folder (this is also where iteminfo.lub) is located that the game uses to dynamically apply certain sprite effects to various enemies.  They use this to create quite a number of the enemies in the game.


The file is monster_size_effect_sak_new.lub.  It's quite easy to understand and modify, the entries in the list are just the Monster IDs, then there's a list of effects to apply to them.  For Red Scar, his effects look like this.

    [2546] = {
        MonsterSize = 1.5,

So what this does is it takes Desert Wolf's sprite, makes it 1.5x the size, then applies 4 effects to it.  The first 3 create the "boss aura", while the last colours him red.  And presto!  It's a vaguely new enemy sprite!


In terms of things that weren't so simple, there's also this place.


This is the Endless Sands dungeon, which is found in the past.  Unlike other things I added, this is a totally new map that I made from scratch.  It's not fancy or anything, it's mostly just some bumpy terrain with some cacti and a sand texture, but I like it.  This dungeon is also a maze, where each screen has multiple exits but only one leads forward.  The Pixy Porings also appear here, and they have pretty good stuff, though they're pretty strong for porings.


Should you make it to the exit, you can reach Valhalla!  It's actually just the Lasagna field maps, but I think it looks kind of heavenly.


This is the most dangerous area in the entire game.  There's a ton of new enemies and gear here, but the enemies have comparable power to Odin's Tower and since this is in the past all enemies deal double damage and take only half.  Defeating the Wish Maiden (who actually uses a different sprite that's from a newer version of the game) will not be easy.  You're probably going to want at least a couple boss cards before you come here.


I feel like I'm probably mostly done with PVE content now, the next big thing I'll have to figure out is all the PVP stuff.  The amount of stuff to fiddle with never ends.


Edited by Tero
  • Upvote 1
Link to comment
Share on other sites

Being doing some behind the scenes stuff lately, most of which is hard to show off.


For starters, I've been fiddling with autocast.  I've mentioned before that I always felt Professor felt mediocre and part of this is because autocast kind of sucks.  Whenever you trigger an autocast, it cancels your attack and you just pose, similar to casting the spell normally.  For Professor, this makes autocast kind of pointless since you can just cast the spell normally and attack with free cast and you get a similar effect, except you call the spell at the maximum level.  I've always felt that they way it should work is that you should keep attacking and the spell should just go off, so autocast is just like bonus DPS on top of your regular attacking.


This is actually extremely hard to change, because the posing actually takes place client-side, and it does not respect any of the fields sent in the packet like amotion.  There is a flag that is sent to skill_attack that can suppress the casting animation, but it doesn't work for multi-hit or NPC skills (ie, almost every spell that can be autocast) and it has its own share of problems.


My first change to try to change this was to shift the "src" of the attack to the target.  For mobs, this works perfectly, because mobs don't have casting animations.  We can now auto-attack and throw bolts without stopping!



The problem is PVP.  If you use this approach for PVP, the person being hit by the bolts does the casting animation instead!  This is obviously not what we want.  There isn't a great solution to this.  What I've done is to change the damage type to splash when used against a player (this is also how the animation flag works).  However, this has several issues.  When casting a multi-hit spell, it only hits once (for bolts, all the bolts come down at once).  It also deals the damage instantly, rather than after the animation.  This is not ideal, but I don't think there's any other way without changing the client.


Notice the 501 damage from the bolts already happened a bit ago even though they haven't hit yet.



Speaking of, I've been working on PVP.  I wrote a pretty simple script to add some PVP arenas, which I've added to this post if anyone wants it.  It does require you to set the mapflags on these maps (pvp_n_1-5, pvp_n_2-5, and pvp_n_3-5), all of them need to have the nightmare flag removed and the nopenalty flag added, and the first arena needs noparty, and the last needs noexp and noloot.


The first two arenas are pretty straightforward, the first is FFA and the second is Team-Based.  The third arena is fun though, as it also spawns some enemies!  It can get pretty chaotic, but you might be able to use the Monsters to your advantage.  You can also just use this area to test out your builds without any risk, since you don't lose exp if you die here (though you don't get exp or drops either).



Finally, I also added a pity system for cards.  Whenever a card fails to drop from a monster, the rate very slightly increases until the card drops, at which time it resets.  This increase is server-wide and it doesn't persist if the server is shut down, but I think it makes card hunting feel a lot better.  It doesn't make a huge amount of difference most of the time, but it makes it very unlikely to go super dry on getting a card.  The chance of taking like 4x the expected amount of kills to get a card is now effectively nonexistent.


Programming-wise this is actually pretty simple.  I might maybe eventually make a topic about it if people want it.


Edited by Tero
Link to comment
Share on other sites

Been working on a ton of small things that don't really make for an interesting post.  Lots of little polish things, like fixing minimaps where exits have changed, fixing item descriptions, fixing status icon descriptions, altering the card prefixes to make sense with the new / changed cards, etc.  Important, but not flashy.


I've also been trying to look at EXP curves and smooth out various issues.  Something I noticed was that without fail, every character always wants to go to Culvert 1 after job change.  This is probably because Thief Bugs and Thief Bug Eggs give somewhat disproportionately high exp for how easy they are, so I've toned this back a fair bit.  You can push on to Culvert 2 for better exp (but at more risk), or you can consider other areas like the areas south or east of Prontera at this level.


Similarly, pretty much every character always wants to go to Lutie when they get to around level 35-40.  This one I'm kind of okay with (there are some other viable alternatives here, Clock Tower 2, Orc Dungeon, Brasilis, Amatsu Dungeon 1, etc).  Instead, I chose to slightly nerf Lutie in a slightly different way: it's now harder to get there.  Rather than talking to Santa Claus at Aldebaran and getting warped there, Lutie is instead now on the main map, north of Yuno.  There's also now a second Lutie Field map, which occurs before the existing one.  It's actually just an altered version of the existing map with a new enemy in the Snow Tail, which is a weaker version of Nine Tail.  This plays the previously unused Track 56, which is a nice peaceful song for a nightime snow map.



I also made some tweaks to Dewata, which I noticed was a place you would basically never bother with, it's now a decent level 70ish levelling area.  I added the previously unused Basilisk enemy to this map, which I think fits well here.



Finally, the later floors of Malangdo dungeon have these new Fire fish enemies, which give roughly Niflheim-level exp, being a decent alternative for level 75+.



With these changes I think the PVE content feels pretty good and there aren't really any major deadzones or spots where there's only one viable place to level.


Beyond this, one of the biggest issues with playing on my server is that so much is changed that it's hard to create builds.  The existing at commands in the game can help a little, but it really helps to be able to view the content in the game using a webpage, so I put together a very simple dictionary of the cards, pets, and card sets in the game, which I've attached to this post in the event that you're curious what my rebalance of the cards looks like.  I also took the opportunity to do another pass of the card balance while I was putting it together.


While this is a massive document to go through (my server contains exactly 700 cards, purely by chance), I think there's some interesting things to talk about with regards to game balance when it comes to the cards.


For starters, my biggest pet peeve when it comes to the cards are when there are multiple cards that have almost the same effect but one is purely better than the other.  An example in the base game would be Wormtail and Zerom, which are both accessory cards that increase DEX.  Wormtail gives DEX +2, and Zerom gives DEX +3, so Zerom is just purely superior in every situation.  On my server, Wormtail instead gives DEX +2, STR +1, INT +1.  I think this is still generally worse, as most builds that want to use a DEX accessory card want as much as they can get and don't care too much about INT or STR, but for certain builds that use all of these stats (like autocast Sage for example) you might consider it.


Another thing I really wanted to avoid are situations where there's literally only one card you would ever consider for a specific slot.  A good example would be in PVP.  There is literally only one card you would ever consider for your shield card and that's Thara Frog, which cuts damage taken from Demi-Human by 30%.  There is pretty much no way this can exist in the game and not be the best PVP card, so this was a rare example of a card that I actually nerfed fairly substantially, on my server it only reduces demi-human damage by 20%, to make room for some other shields to be relevant, though it's probably still the all-around best option.  Another example would be the weapon cards for Mages.  In base, the only weapon any mage ever uses is a 4-slot Rod with 4 Drops cards, because there are almost no cards that do anything for mages.  This is now drastically changed as almost all cards that affect damage that used to be physical-only also affect magic, so mages can now run Hydra cards for example (though Hydra is also somewhat nerfed).  This makes mages significantly more powerful, but there are more ways to defend against magic as well.


When it comes to the relative power of the cards, I generally chose a few baseline cards for each category to use as a guideline for the general power of that category, typically the most commonly used ones.  For example, for weapon cards, the benchmark was the "do 20% more damage to enemies of a specific race / element" cards.  These are almost undeniably the most powerful weapon cards in the base game (save for MVP cards), but rather than severely nerfing them to bring them in line with everything else, I generally tried to buff the other cards to be more relevant.  An interesting wrinkle when it comes to buffs is you often have to buff slightly more than feels sensible in order to make things balanced.  My first idea is usually something along the lines of "this seems fine now but I probably still wouldn't use it", but in order to make it an interesting option it has to be powerful enough that you actually want to go out and get it.  This was particularly an issue for the cards in the past, as they have to be quite powerful to make up for how difficult it is to get there.


By far the hardest thing to balance were the card sets, particularly the ones for each class.  In the base game, these sets are simply irrelevant and no one ever uses them.  They involve a lot of lousy cards that you'd never want to use and the bonuses are generally not worth what you're giving up.  Here, with the cards being buffed so they're actually usable, some of the card sets actually became much too powerful and had to be nerfed somewhat.  There's an extremely fine line between the card sets clearly being the best option for their class and being worthless,  In general, I don't think you want the sets to be too good because I feel like they're kind of fundamentally uninteresting, since coming up with your own card build is one of the most interesting things about the game, but some of them do give some interesting effects, like Rogues gaining the ability to use some traps.


The balance of the pets is probably nonsense.  This is the one area where I mainly focused on flavour and what I thought was cool moreso than balance.  Some pets that have a really strong skill have a somewhat weaker loyalty bonus, but there's no question that a lot of them are kinda bonkers.  Oh well.  Pets are fun.



There's a good chance this will end up being my last post about the server, because to be honest, there's not actually that much more to be done with it.  It's definitely been incredibly fun to tinker around with, though.  I hope this topic can inspire others to see what interesting things they can do with this game.  It's actually kinda bonkers how much control you have with this game compared to pretty much any other game that allows modding.

pets.html sets.html cards.html

  • MVP 1
Link to comment
Share on other sites

I only found this topic recently, but this was both a wonderful read and a very illustrative one as well. The choices in design are bold and while they don't align with my personal preferences, I really like that they conform to a specific vision regardless of base game. Not to mention, the struggles with certain behaviors like forced animations on skills are very relatable, haha.

Thanks for the excellent posts and even sharing your work, and I hope that if you keep working on this in the future you'll keep us updated. The game really has incredible freedom and seeing others work on it is very inspiring!

Link to comment
Share on other sites

So, if you believed I was done editing the game you probably shouldn't have.


A while back, I downloaded the latest Korean GRF, which I periodically backport content from.  I'd had my eye on a couple of the enemies from Ep19 for a while, but I never really had a place for them to go.  There simply weren't any more useful maps to steal from Renewal, and the maps from Episode 19 are in a different format that my version of the game can't read.


I was fiddling around with the Episode 19 maps to see if I could figure out how to get them to load, and I noticed the error just complains about the rsw file.  So I tried subbing out the rsw for the new maps with one from an old map, and this does allow the maps to load, albeit in an extremely glitchy way.  It turns out the problem is linked to the size of the map specified in the rsw, so I was able to get it to work by creating a new map in Browedit with the same dimensions, saving it, substituting the gat and gnd files for the ones from Episode 19, reopening it in Browedit, and saving it again.  This produces a viable Episode 19 map that can be loaded in the old client.


So now we have a new dungeon based on Episode 19, Nightmare Canyon:


This area uses [email protected] and [email protected] and is located near Rachel.  The monsters here have endgame-level power and a number of interesting cards, for example one adds a speed down effect to Provoke.


I did a fair amount of fiddling around with the map editor to get this working and learned how to do a few new things, like changing the water colour (this is under windows -> water -> type).  I think this purple water really helps enhance the atmosphere of this location.  These areas beside the final walkway were actually not filled with water originally, I had to edit the stage geometry to create these pools.


I also created a second new dungeon, this time a past version of Juperos.  This allows you to visit the town of Verus.  Incidentally, this required me to add some of the Juperos characters to the npc folder.  These characters initially make noise, so I had to edit their sprites with act editor to remove the sound effects.



You can proceed through Verus to reach the past version of Juperos core, which uses [email protected].  This stage has many geometry edits to allow you to get through the whole thing (it has many walls, which I assume use NPCs to warp you around int he base game)


You can fight the Limacinas here, which I think are neat enemies.  They were incredibly hard to get working, though.  Backporting enemy sprites from the new version of the game is easy, you just have to add them to jobname.lua and npcidentity.lua.  However, Limacina is a shooter.  It has a separate sprite file for its bullet, but for the life of me I couldn't figure out how to specify the name of their bullet file.  It turns out that this is because you can't - the monster bullet sprites are hardcoded inside the client file.  The only way to add a new bullet is to replace an existing one, and there aren't many.

About the only shooters that aren't used in the base game are the Photon Cannon enemies.  There's 4 of them, which means I can give shots to 4 enemies by stealing their enemy ids and renaming the bullets of the enemies to the name of the photon cannon bullets.  So I had to make Limacina monster ID 1664, and its bullet is named canon_bullet.spr.  This was an absolute pain in the neck, but it paid off.  Limacina can shoot!



As for the Photon Cannons, they're still in the game, but they no longer shoot.  In fact, they don't attack at all.  They instead simply cast spells.  Monsters can use spells without having the "can attack" flag set, if those spells are set to be cast during idle state and on a random target.



The boss of this area is Charleston 3.  I had considered using this boss before, but I felt it didn't fit with any of the existing areas, but it works well here.  It has a number of fun drops, but my favourite is this.


This might be my new favourite weapon.  It has this script:

bonus bSplashRange,1; bonus4 bAutoSpellOnSkill,"GS_DUST","NC_FLAMELAUNCHER",1 + (getskilllv("GS_DUST")>=5) + (getskilllv("GS_DUST")==10),10000; bonus2 bSkillUseSPrate,"GS_DUST",100;


There was a problem initially, though.  When NC_Flamelauncher is used, it's suppose to show a cool flame animation, but it doesn't appear when using the above.  After a ton of debugging, I discovered that this attack actually has a 2 stage animation - the animation of the flames is actually shown during the attack's casting animation, and then the animation of the target being burned occurs after the casting animation.  In the script above, the casting animation never plays, so there's no flames.  I fixed this by adding the following code to skill_castend_damage_id

if (skill_id == NC_FLAMELAUNCHER && sd && sd->state.autocast) clif_skillcasting(src, src->id, bl->id, bl->x, bl->y, skill_id, skill_get_ele(skill_id, skill_lv), 1);

Basically, this causes the game to show the cast animation for one frame whenever you use Flame Launcher, even if it wouldn't otherwise be shown.  And it works:


It's hard to capture how sick this looks in a still image, but it was well worth the effort to get it working.


Finally, all this fiddling around with the map editor finally led me to solve something that had been a problem for a long time.  When you create maps with Browedit, they don't automatically update the lightmaps, which leaves you with either the shadows the map started with or no shadows at all.  You can create lights to cast shadows, but they create overly dark shadows that turn anything inside pure black.  You can see this above when I posted a picture of the new Lutie map.  After a bunch of tweaking, I figured out how to fix this.  You have to go to Tools->Lightmap->Export, which will export the lightmap as a BMP.  You can then edit the bitmap with paint, by altering the colour from black to gray.  Then re-import the lightmap, and this is the result:


Finally correct lightmaps!  You can't tell this is a custom map anymore.


I feel like I've solved almost all the mysteries of how to edit stuff in the game now, it now feels like there's very little I don't know how to edit, save for stuff that's locked to the client exe file.  Kind of crazy when I think of how much I struggled with things at the beginning.

  • Upvote 1
  • MVP 2
Link to comment
Share on other sites

Posted (edited)

I've been fiddling around with skills a bit more, having finally somewhat figured out how to get custom animations working.  This is related to the file "skilleffectinfo.lub".  Initially, I thought you could only use certain effects here, but it turns out you can add more effects by editing effectid.lub.  Between the two, you can kinda add custom skill animations, but it's very janky.  Target animations always work, but animations for the caster refuse to play for most skills for no reason that I've been able to determine.  It could be related to the type of skill or some kind of hardcoding in the client file, but I've generally had to use workarounds involving the clif_skill_nodamage function for these sorts of animations.


Anyway, I figured it might be a good time to give a summary of some of the skill changes I've made to the various classes.  Some of these have been mentioned in previous posts, but many are new.  I've also included a little bit of an explanation behind my thought process at the bottom of each entry.


Lord Knight:

- Bowling Bash now works.  I completely recoded the skill so it now does what it's supposed to do, it knocks back a target and if it hits other targets they get knocked back too.  It does more damage if at least one other target is hit.

- Spear Stab is now a completely new ability called Pin Down, which has cast time but inflicts the ankle snare effect on enemies.  This is because the original Spear Stab is almost the same as Bowling Bash.

- Brandish Spear no longer has knockback, which improves its DPS since you can now spam it.

- Knight has two new skills in "Calmness" and "Fast Metabolism".  The former eliminates the Flee Penalty from being hit by many targets at once, which is good for Flee-based Knights.  The latter increases the amount of healing received from healing items, similar to Increase HP Recovery, though it also affects SP items.

- Concentration now slightly reduces cast time

- Aura Blade is now a party skill that can also affect teammates, similar to Doram's buffs.  It also now applies its damage to "fake" multihits (those that have a hit count in the negatives).

- Has a completely new skill in "Blade Beam", a sword-exclusive skill that has cast time and shoots a projectile with splash damage that can cause Fear.  This is actually a heavily reworked version of RK_WINDCUTTER.



Lord Knight is a strange class in that it's good but its skill tree has a lot of issues.  Almost all of the class's power is concentrated in Spiral Pierce, even though it has a million other active skills that never see use.  The in-game descriptions of the class imply that it's supposed to be a tank, though it isn't really, it's basically just a bulky DPS, so when adding a few new skills I tried to give the class some tanking utility.  I also wanted Sword-based LK to be more viable, since everyone always runs spear.



- Grand Cross's physical damage portion is slightly stronger, the physical and magical sides are about equal now (this also increases the recoil damage, however).

- Pressure is its Renewal version, which deals strong magic damage instead of just dealing fixed damage, making it a drastically better skill.

- Providence is significantly changed and is now exclusive to Paladin.  It now gives other characters the effect of Faith and Endure, increasing Max HP and Holy Resist.  It also now works on other Paladins, though you can't cast it on yourself.  This was mainly changed because there was actually too much Demon Resist in the game, it was possible to get >90% resist to Demons, functionally trivializing some bosses.

- Paladin now gets Pinpoint Attack (from Royal Guard).  This skill no longer does an automatic critical and is mainly useful for its status effects.

- Gospel now functions like a song, you can move and attack while using it.  It no longer strips your buffs when you cast it, though the positive effects still don't affect the caster.  It also makes a bigger cross at level 5 and above.



In the old days, Paladin was a strong contender for the title of "most underwhelming transcendent class", with basically all of its transcendent skills being useless.  This changed instantly with the change to Pressure, in fact I had to reduce its power a couple times, because when given a source of strong damage output Paladin instantly becomes a "master of all" who has no weaknesses.  I feel like the fact that Paladin has low DPS against enemies who aren't weak to Holy is a key part of the class, so I tried to avoid giving it any significant damage buffs, and I also didn't want to give it anything that significantly improved its tankiness either.  Spear Paladin has always felt quite weak to me, so I think the addition of Pinpoint attack helps a lot there, and the new Providence skill is an interesting buff for some fragile characters.  It's also fun to actually be able to use Gospel.


Assassin Cross:

- Assassin has four completely new skills.  The first three are "Numbing Poison", "Impairing Poison", and "Sapping Poison".  These are passives that add stat debuffs to Poison status (for AGI, DEX, and STR, respectively), turning it into kind of an anti-Blessing status. 

- The fourth new skill is "Status Mastery", which increases the chance to inflict status conditions.  This is now a prerequisite for Meteor Attack, which no longer requires Soul Breaker.

- Venom Dust makes a larger cross at high levels.

- Venom Splasher is its modern version, which has more power and doesn't require the target to have less than a certain percentage of its HP to be used.

- Righthand Mastery and Lefthand Mastery now both have 10 levels.  At Level 10 for Lefthand Mastery, the damage penalty for your left hand weapon is eliminated (previously the maximum damage you could get was 70%).

- Assassin Cross can now learn Phantom Menace (from Guillotine Cross).  This is a very situational ability that hits hidden characters with 100% hit rate.  This mainly exists to deal with Stalkers, as it can hit people using Chase Walk.

- Assassin Cross has a new ability in Poison Resist.  This reduces the damage you take from Poison Element and reduces the chance to be Poisoned, but you lose 2% of your maximum HP per level of it that you take.  This skill has some use but is mainly intended as a "penalty" skill to gatekeep EDP.

- Create Deadly Poison requires 5 levels of Poison Resist.  If you want to drink the poison bottle for an ASPD boost, it has to be maxed at level 10, costing you 20% of your maximum HP.

- EDP is also a 10 level skill that has slightly less power at level 10 than it used to have at level 5.  It's still extremely powerful, but it now makes you into a glass cannon, which I think makes sense.  Note my abysmally low max HP at level 71.


At least you can freely walk through Venom Dust now without ever being poisoned once this skill is maxed!



Assassin is probably the most flawed class in the game.  Pre-Rebirth Assassin has almost no skills that anyone cares about, in particular all of their poison skills are always ignored, but Assassin Cross is almost unquestionably the most powerful class in the game.  It gets three absurdly strong new abilities in EDP, Soul Breaker, and Meteor Assault, all of which are best-in-class abilities of their respective types.  Even then, Sin Cross still typically has a ton of points left over since they don't care about the rest of their abilities.  One of the first things I wanted to do was make Poison more useful, since it's generally one of the wimpiest Status conditions but like half their skills revolve around it.  I also think the ability to inflict status conditions more accurately also allows for a number of interesting status-based builds.  I also use these new skills to make the super strong Sin Cross abilities more expensive to get your hands on, so you now typically have to pick and choose between them a little more.  EDP Sin is also now a total glass cannon, which I think makes sense given how powerful it is.



- Chase Walk now consumes SP faster

- Rogue has a new active skill in Rupture.  This is a very strong attack that can only be used against enemies that are bleeding.  Obviously, this synergizes well with Gouge from Thief for auto-attacker Rogues.

- Stalker has a new ability in "Shadow Master".  This is a passive that reduces damage taken from and increases damage dealt with Shadow Element.  Rogue does not innately have any skills that do Shadow Damage, but there are lots of ways to get one (use a Shadow-element weapon, use Cursed Water, copy a Shadow skill using Intimidate, etc).

- Stalker also now gets Shadow Form (from Shadow Chaser).  This is an active skill that redirects damage from the Stalker to a target for a certain number of hits.  In the base game, this skill can only be used on players, but I recoded it so you can use it on enemies as well (though MVPs are immune to it).  This is one of the only abilities in the game that has a cooldown before you can use it again, to prevent it from being spammed over and over.



Stalker is an interesting class with a lot of PVP applications and I mainly wanted to enhance that with these changes.  Shadow Master is kind of interesting for mindgames in that it gives you more power at the expense of predictability.  You won't be able to do anything to anyone using Bathory armor, but what if your Intimidate skill is Holy Cross or Grand Cross?  Shadow Form is also the ultimate counter to Asura, allowing you to delete anyone who dares try to use it on you, but a clever attacker will try to bait it out first, since once it has been used you can safely Asura during the cooldown.



- Hammer Fall now has 10 levels and has a larger area at high levels than it used to.

- Skin tempering also now has 10 levels, granting 10% neutral resist when maxed.

- Blacksmith has a new ability in "Weapon Enchant", which adds bonus elemental damage to your (or an ally's) weapon.  This is the same effect that Magnum break applies, but for a longer duration.  The level of the skill determines the element of the bonus damage, between Fire, Water, Wind, Earth, and Shadow.  It costs a Red Gemstone to use.


- Whitesmith gets another ability based on this, "Release Enchant", which uses this enchantment to do a Pulse Strike-like attack using the element of the enchantment, though the buff is removed when using this.  Yes, you can indeed use this with Magnum Break, if you have the Marine Sphere card.  It costs a lot of SP though.

- Whitesmith also gains access to Cart Cannon (from Geneticist).  You have to craft the cannonballs yourself using a mini-furnace rather than them being buyable, so there's a new passive for "Cannonball Craft" as well.



It's no secret that I've long found Whitesmith to be kind of an underwhelming class.  I like the idea of it being kind of an offensive support-focused tank, but so much of its skill tree is dedicated to utility skills that it feels kind of underwhelming to use in combat.  I think having the new buffs and Cart Cannon helps a lot with this.  I had been looking at Cart Cannon for a long time, but it didn't really make sense for Creator, I think it functions far better as a Whitesmith skill.  Cannonballs are a bit expensive to get in large numbers (the elemental cannonballs require Flame Hearts and the like), so the main use for them is probably for wiping out boss mobs, which they do pretty well since the damage doesn't divide among the targets.



- As mentioned in another topic, resting a Homunculus puts it back into its Embryo, allowing you to raise multiple Homunculi.

- Each of the Homunculi gets a new skill when evolved.  Lif gets Eraser Cutter, Amistr gets Stahl Horn, Filir gets Needle of Paralyze, and Vanilmirth gets Steinwand.  However, you have to be a Creator to evolve Homunculi (only the Creator can use the Sage Stone).

- Bomb and Acid Terror now have 10 levels.  Acid Demonstration requires a higher level of these skills to learn.

- Alchemist has one new skill in Precision, which is a passive skill that increases hit.  At level 5 and 10 it increases the range of skills like Potion Pitcher and Acid Terror by 1.

- Creator now has access to four new skills, Crazy Vines, Mandragora Howling, Explosive Spore, and Blood Sucker, all from Geneticist.  You can craft the items needed to use these skills using the pharmacy skill and a new book.


- Creator also gets Duple Light (from Arch Bishop), which is renamed to Alchemical Weapon and needs a special item to use, which you also create using a new book.

Not too much to say about Creator.  It's already a pretty solid class.  Precision and Alchemical Weapon are mainly there to add a bit more value to the generally ignored Axe Mastery, which serves as the root of this skill path, taking all of these skills can make Creator into a relatively solid auto-attacker now.  I also wanted Cultivation to actually do something useful, so it's now the root of the new plant skills tree, which also gives more options besides Acid Demonstration (though that skill is still extremely strong).  The biggest change is being able to store the homunculi, which makes them far nicer to use (I eventually got fed up and implemented this after failing like 10 straight times to get a Vanilimirth).



- Hunter gains access to a new skill, Fear Breeze (From Ranger).  It's now a 10-level skill, that has slightly more power than it originally did at level 5.  This skill (and all other skills that cause multi-hits, like Double Attack) is now able to critical hit (I actually never knew this wasn't the case until I tested it).  This makes the Archer's Bullseye skill a lot more useful.


- Hunter's skill tree is significantly refactored so the trap skills make more sense in terms of their prerequisites now (each now only relies on the one above it).

- Sniper gains access to 3 new traps, Cluster Bomb, Burning Trap, and Icebound Trap (all from Ranger).  These now just consume regular traps rather than special alloy traps.



Sniper is another class that is generally very powerful, but also had a lot of skills no one ever used.  Fear Breeze is an interesting skill, but it's so underpowered for Ranger that it needed buffs to even be viable as a regular Hunter skill, but now I think it's an interesting part of a trapper or auto-blitz beat build.  I also wanted traps to feel more viable, and also for there to be more sources of some of the new status effects like Burning and Crystalize.  An interesting note is that Ankle Snare is now harder to get, so you'll have to invest more points into traps if you want that (which you almost certainly still do).


Clown / Gypsy:

- Bard and Dancer can now normal attack while singing / dancing.

- Bard and Dancer songs / dances now affect the user without needing Soul Link, though they drain significantly more SP.

- Most Bard and Dancer songs are better.  Apple of Idun heals more HP.  Fortune's Kiss now raises LUK.  Assassin Cross of Sunset now stacks with everything.

- Bard and Dancer have a new active skill called "Up Tempo".  This is basically an Instrument / Whip version of Two Hand Quicken.

- Clown and Gypsy have a new passive skill in "Battle Rhythm", which grants Perfect Dodge while singing / dancing.

- Arrow Vulcan has slightly more power, but Dex no longer reduces its cast time.

- Clown and Gypsy have a new skill in Sonic Force / Sonic Lash, a melee-range active skill that is different between the two classes.  Sonic Force has a knockback effect, while Sonic Lash hits 3 times and can inflict Bleeding.  For both characters, this skill gains significant bonus damage from Strength.  This can also be used while singing / dancing.


- Clown and Gypsy also get the lost skill "Ragnarok".  This skill is basically just continuous Meteor Storm, it drops a meteor within the skill's range every few seconds while the song is active.  Unlike the original version, it doesn't hit allies.  This was an interesting exercise in learning how to program timer skills.



The main thing I wanted for Clown and Gypsy was for singing and dancing to feel more relevant, as many people totally ignore this to focus purely on burst damage through Arrow Vulcan.  I also wanted to make their normal attack feel more relevant, to emphasize the fact that their new class-exclusive weapons are capable of melee attacks, considering they're mostly used in a near interchangeable way with bows.


High Priest:

- High Priest has 5 new skills, Coluceo Heal, Cantocandidus, Clementia, Lauda Agnus, and Lauda Ramus, (all from Arch Bishop).

- These skills all rely on different Priest buffs to learn.  Sanctuary, Magnificat, Suffragium, Kyrie, and Gloria, respectively.

- Redemptio is deleted from existence (there's simply too much weirdness involving this skill and exp penalties and the like).



High Priest is obviously a very good class, but it often feels like you don't really have a lot of options for build diversity.  Having these new buffs rely on some of the lesser used buffs creates a lot more variety in terms of different builds for this class.




- Monk has a completely new skill in "Status Barrier", which provides a one-time block against bad status.


- Zen's cast time is no longer affected by Dex.

- Champion gets three new skills in Crescent Elbow, Ride The Lightning and Howling of Lion (all from Sura).  Ride the Lightning is an almost completely new skill.  It now teleports to the target, similar to Snap, has a chance to inflict Stun, and also grants Combo status, allowing Chain Combo to be used immediately afterwards, followed by the rest of the chain if you have enough spirit spheres.  This is probably the coolest skill ever.



Champion is a pretty good class with a decent number of options.  I like the new Status Barrier skill as a way for the class to give a little more PVE support, considering it does branch from a support class.  Ride the Lightning is there to give a bit more power to combo-based Champion, and honestly I just think it's super cool.  Howling of Lion is mostly there to prevent the newly buffed Bard and Dancer skills from being too strong, and Crescent Elbow is basically just something that's interesting and different.


High Wizard:

- Napalm Vulcan is now a 10 level skill, but at max level it does more hits and does more damage than it used to.

- Gravitation is a mix of its old and new versions.  It has the new proper damage from the new formula, but it also applies the reduced Attack Speed debuff from the old version.

- High Wizard has a totally new skill in Ancient Curse.  This is an Undead Element spell that can inflict the Curse status.  Unfortunately, a ton of enemies also have this spell.



High Wizard is another one of those classes that originally only had one relevant skill, in Amplify Magic Power.  It's a very good skill, undoubtedly, but it still felt a bit dull.  With Napalm Vulcan now being a proper nuke (albeit, not against Neutral armor) and Gravitation being a pretty relevant debuff, it now feels pretty good.  Ancient Curse was mainly just added because I wanted more sources of Undead damage in the game, currently only like 2 enemy-only spells hit that element.  On my server, Undead always hits Neutral armor for 100% damage (unlike dark, which is resisted at higher levels), so it's a very reliable element even if it isn't super strong.  




- Memorize now affects the whole party.

- Autospell can cast more spells, like Storm Gust and Lord of Vermillion (you need equipment or to be a Super Novice to take advantage of this, though).

- Sage has a totally new spell in Poison Splash (as shown before)

- Professor has two new spells in Arrullo and Kyomu (from Sorcerer and Kagerou, respectively).  These are renamed to Sleep Mist and Disable.



Professor was another one of those classes that always felt underwhelming in the past, with the main appeal simply being Double Bolt.  I discussed previously about the changes to autospell, which make the class feel a lot better, but I figured it would also probably need a little bit of help against magic reflect, which it is otherwise completely helpless against (Wizard at least has ground target spells it can use, the only one Professor has is Heaven's Drive).  Arrullo is mostly just there because I wanted something that could inflict Deep Sleep.


Whew, this was long.  I've already talked a lot about the other classes previously, but I guess I can quickly touch on one new skill for Soul Linker, which is called Eskon.  It's a rebirth-only skill that deals damage based on the number of debuffs on a target, which it also removes after it hits.  It can hit very hard if a target is very significantly debuffed, and many of the other Es- skills are debuffs, so it presents kind of an alternate combo route if you want to use those skills instead.


Also, you get to blow people up.  Poor, poor Lunatic.



Edited by Tero
  • Upvote 3
Link to comment
Share on other sites

Posted (edited)

Having altered the playable characters into a near-unrecognizable state, I next set my sights on the Homunculi, which I actually kind of don't recommend as the Homunculi are janky.


For starters, I made an update to my previously release Homunculus storage function.  Now, Homunculi go into named Embryos when you rest them, and you can call them back out with a dialog box.  Having a bunch of Homunculi has never been easier!



If you want this function on your server I provide the steps to add it here:


However, that got me thinking.  It's a little weird that there's 2 clones of each homunculus that are exactly the same except for looks.  Wouldn't it be nice if they were different?  They do have unique skill trees in the homun-skill-tree file, so I made some new skills for them.


It turns out making new Homunculus skills sucks.  Although you can adjust the MAX_HOM_SKILL in the code, the client has a predefined list of skills that can be homunculus skills and you can't change this.  This means that to add new Homunculus skills, you have to replace existing ones, which is lame.  Oh well.  I cannibalized Eleanor for these new moves, since my server doesn't have Homunculus S and none of her skills were of any use to the other Homunculi anyway.  As such, now all of the alternate Homunculi have a new alternate base skill.  I also gave each Homunculus a sixth skill, which we'll get to in a moment, and I gave the alternate homunculi new names.  All the rest of their skills are the same as the base versions.


Lif and Raf:

- Raf's new base skill is Healing Wind.  This places a healing zone on the ground, similar to Sanctuary, though it doesn't affect monsters in any way and is a lot weaker (though it does scale with level and such).  Compared to Touch of Heal (which on my server doesn't need a potion to use and Lif will target either herself or the master depending on who has lower health), it has less healing power, but it has the added bonus of also being able to heal your party members, which Touch of Heal can't.


- Lif's new 6th skill is Holy Pole, which was one of Bayeri's abilities.

- Raf's new 6th skill is Volcanic Ash, which was one of Dieter's abilities.  I think Raf seems more like a troublemaker compared to Lif.


Amistr and Gist:

- Gist's new base skill is Taunt.  This is an AOE provoke around himself.  On my server, Provoke has the extra effect that it prevents monsters from changing targets in some situations, so you can use this to draw attention away from yourself.  It does have the unfortunate side effect of possibly drawing a lot of attention to Gist though.


- Amistr's new 6th skill is Lava Slide, from Dieter.

- Gist's new 6th skill is Magma Flow, also from Dieter.  I think this makes sense since it's a counter, which synergizes with the taunt move.


Filir and Prit:

- Prit's new skill is Daybreak.  This is very similar to Filir's Moonlight.  It has less power and only hits once, but in exchange it has knockback.  This is decent as a "get off me" move if you want to use ranged attacks.


- SBR44 is basically a totally new skill.  It's now called Last Resort and uses the user's HP to do a powerful attack, similar to Final Strike.  It doesn't directly lower intimacy, but the homunculus is very likely to die afterwards (it leaves it with 1 hp), which now does lose intimacy (I always thought it was weird that it didn't).

- Filir's new 6th skill is Xeno Slasher, from Eira.  It has good power and can leave enemies bleeding, and it also gives Filir a ranged attack, but Filir's magic attack probably won't be too high.

- Prit's new 6th skill is Pyroclastic, from Dieter.  This skill is slightly changed in that it loses the Hammer Fall chance, but instead grants slight HP Regen, which I think makes sense because Prit is probably supposed to be a Phoenix.


Vanilmirth and Slograth:

- Slograth's base skill is still Caprice, but it chooses different skills.  Vanilmirth has the 4 bolt spells, while Slograth has Soul Strike, Dark Strike, Blood Sucker, and Holy Light.  Blood Sucker is interesting because he can heal himself with it, but generally this element selection tends to be less reliable.


- Self Destruct no longer takes all your intimacy, but it does cost you a fair bit on top of the usual penalty for the homunculus dying.

- Vanilmirth's new 6th skill is Granitic Armor, from Dieter.  I think the fact that this hurts you at the end fits with Vanilmirth's chaotic nature.

- Slograth's new 6th skill is Poison Mist.  This is a rare poison-element spell, fitting Slograth's use of the non-conventional elements.


One last annoyance is that the game wouldn't display the skills in the right order in the homunculus skill tree.  It turns out the homunculus skills are always sent in their skill_id order.  I really didn't want to reorder them all, so I altered the clif method to send them in the same order as the skill tree.  Thankfully, the client preserves the order they receive the skills in and doesn't auto-sort them.  Phew!  For once the client came through for me.

Edited by Tero
  • Upvote 2
  • Love 1
Link to comment
Share on other sites

Posted (edited)

Been a bit of a slow time on Ragnarok lately, been super busy with work.  Making a few small polish updates here and there, like changes to minimaps and such.


The biggest change is that I overhauled the game's achievement system.  To be honest, I'm not really that convinced the game needs an achievement system, but if it's going to be in the game, it might as well at least be functional.  In its current state it was clearly an afterthought, with like 80% of the achievements being broken and it not giving you any rewards even for the ones you can complete.  So I pretty much rewrote the entire thing from scratch.


For starters, there's actually a glitch in current Rathena that makes a lot of the objectives impossible to complete, such as "Human's Greed Has No End", which just requires you to fail to refine once.  Obviously this should be easy to get, but you'll probably find that you don't have it.  This is because of an error in achievement.cpp:


Find this block in "achievement_update_objectives"

if (!ad->condition)
	return false;

This block tells it to tell the game to never approve an achievement that has no condition.  Obviously this is wrong, as many achievements have no conditions.  Outright remove that block.

Amend the block below to be this to avoid a null pointer exception:

if (ad->condition && !achievement_check_condition(ad->condition, sd, current_count)) // Parameters weren't met
	return false;

Achievements with no conditions now work, as Hollgrehenn will be happy to demonstrate:



Some of the other achievements require you to find various Treasure Boxes in the field maps.  These work, but in PRE-RE, the script is not enabled by default.  The script that contains them is npc/re/other/achievements.txt.  

This now works and you can get the achievements, but they're quite obnoxious to find, because the treasure chests only appear if you're within a 5 cell range of them.  This is the last two numbers on the npc line.  I increased this to 30.  Most of them are still hidden pretty well, but I moved some of them that were either totally out in the open, or hidden so obnoxiously well that you'd never see them without using a guide.  Now, many of the odd nooks and crannies on the various maps have a purpose, like this weird spot in the map below Prontera:



This is a good start, but the system still had a long way to go.  Of the achievements that remain, many are unobtainable in PRE-RE (ie, reach level 100), are tied to quests that aren't in the game, or are just obnoxious (like defeating Celine Kimi 25 times).  So I basically purged most of the rest of them and made my own.


The achievements are stored in both the achievement_db.yml in the database folder and achievement_list.lub in the System folder, which need to match.  Here's an example of one of my new achievements in case you ever wanted to make your own.

This is the entry in achievement_db.yml

  - ID: 128010
    Group: "AG_BATTLE"
    Name: "Mother's Love"
      - Id: 0
        MobID: 1147
        Count: 1
    Score: 10

This is quite straightforward.  AG_BATTLE achievements simply require the named mob to be killed COUNT times.  Since the count here is 1 and the MobID is 1147, this requires killing Maya once.


And here's achievement_list.lub, which contains the front-end information for that achievement:

	[128010] = {
		UI_Type = 1,
		group = "BATTLE",
		major = 5,
		minor = 0,
		title = "Mother's Love",
		content = {
			summary = "Defeat Maya",
			details = "Defeat the MVP in Ant Hell"
		resource = { [1] = { text = "Eliminate Maya", count = 1 } },
		reward = {},
		score = 10

The structure here is not too hard to understand.  The major and minor tell the game what group it is in, this one is in the "MVP" category and the "Midgard" subcategory.   Here's the achievement in-game:



I've changed some of the labels in this window (for example, the "Past" category is new), this is in the msgstringtable inside the grf file.

Almost all of the MVPs in the game now have an achievement tied to them, which only requires you to beat them once.  They are almost all dumb puns or references, like this one for Dracula.  Actually, this isn't a very good screenshot since his death animation already ended, but soloing him with this character was a pain so I'm going to post it anyway.



Finally, there needed to be some reward for actually doing these achievements.  A few achievements had buffs or titles associated with them (many of these were commented out, but that's easy enough to re-enable), but for the ones that are tied to your overall achievement level, I've put a few decently worthwhile things in there.  The first few levels are super easy to get and only reward very basic things like OBBs, but if you get to higher levels you can start getting a few nice things like OCAs and some boxes that contain a few of the premium refining materials, which are otherwise very hard to get on my server.  It's nothing game-changing, but it's something.  Incidentally, I also changed the achievement level thresholds because they were very weird initially, this is also in achievement.cpp.



With that, I think this system is now decently workable and fun.  I still kinda don't like the fact that some achievements are mutually exclusive so you can't get them all (ie, there are some tied to changing to certain jobs, which you can only do some of on any given character), but there's so many achievements that I doubt anyone would be crazy enough to try to get them all anyway (you hit achievement level 20 long before you run out of achievements to get).


Speaking of things that are mutually exclusive, I also added something to the Summoner class that I think is interesting:



Previously, the Doram had the "Soul Attack" skill, which causes your normal attack to become a ranged attack skill.  I felt this was too much of a no-brainer for one skill point, so I turned it into a 5-point skill, though it then felt a little weak.  I had also been toying with the idea of the Doram getting some new buffs that aren't tied to their skill trees, though I didn't want to significantly increase the power of the class since it was already pretty good, so I finally came up with this.  In addition to Soul Attack (which is called Spirit Attack here), the Summoner now has two other buffs in Spirit Shield and Spirit Focus.  However, you can only take one of them, once you know one of them, the others are no longer available (this required quite a bit of custom code as nothing in the game currently works this way).  Each provides a pretty decent benefit at level 5, but you have to choose.


Spirit Shield grants VIT Def and at level 5 it reduces incoming damage by 50% if your HP is full.  This is nice for preventing one shots, but it's even more powerful if combined with Tuna Party, which gives you barrier HP.  Yes, the damaging halving effect also halves damage done to the barrier, which is kind of bananas.  To stop this from being ludicrously OP, the barrier has a bit less health than it had originally, costs more SP, and you can't recast it if you already have it, it has to expire or be broken first.


Spirit Focus reduces cast time and gives a 50% chance to maintain concentration if being hit while spellcasting at level 5.  Of the three, the level 5 benefit is probably the weakest here (there's plenty of ways to get uninterruptable cast that works all the time), but the reduced cast time effect is very powerful.


Spirit Attack grants mastery attack (which is better on my server than on most others because I use Renewal's mastery attack formula where it's added at the beginning of the damage calculation), and at level 5, it also makes your normal attack ranged.  However, it has another bonus - it also adds +2 range to all ranged attacks, similar to Vulture's Eye, except that it affects EVERYTHING.  Ranged attacks, heals, buffs, skills you get via cards or equipment, you name it, if it has over 4 range, it gains +2 range.  I think there's a lot of interesting applications for this.


But of course, whichever one you choose, you have to give up the others.  Which to take?  I think it's an interesting dilemma that helps make the class feel unique.

Edited by Tero
  • Upvote 1
  • Love 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...