• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

WZ Need help editing v55 wz

Newbie Spellweaver
Joined
Nov 2, 2016
Messages
10
Reaction score
0
Hi there

i just oppened my old version v55 server and i am trying to edit my wz file

i am trying to change Mobs HP and drops for special event

i wonder how do i save it and do i need to execute in mysql , cause when i do it its said an error

Please i need help , i really need a old server like a ad before i just dont remember how to do it thanks .
 
Moderator
Staff member
Moderator
Joined
Jul 30, 2012
Messages
1,103
Reaction score
432
Drops need be done via DB not .wz mobs HP is mob.wz > MOB ID > info

HOWEVER, you need do this from the server sided part (.xml) so either do this directly from the .xml or edit from mob.wz and extract the .img as .xml

Then restart your server.
 
Upvote 0
Newbie Spellweaver
Joined
Nov 2, 2016
Messages
10
Reaction score
0
Thanks so much kimberly il try that right now if i need more help can you still help me :) ?



Also i am looking for snack bar ID ( for v55 ) i cant find it when ill do CTRL + F and i type Snack bar
 
Upvote 0
Moderator
Staff member
Moderator
Joined
Jul 30, 2012
Messages
1,103
Reaction score
432
The ID of snack bar are the following (based on Mapletip):

- 9500178
- 8220009
- 9300207
- 9410014
- 9410015

Some are the event version, some are the 'normal' and 'transformed' version. If they are not there, v55 didn't had it in data yet. I know v62 does.
 
Upvote 0
Newbie Spellweaver
Joined
Nov 2, 2016
Messages
10
Reaction score
0
i dont found snack bar id , but i will do it with Coke Snail xD .
well i found all item but now if i want to change Stats on Coke hat , Coke shield and Coke Earring where do i go and how :x ? please



Its not Saving when ill change the hp in Mobs.wz > Mobs ID > info i change the HP where its in BOLT


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<imgdir name="9500144.img">
<imgdir name="info">
<int name="bodyAttack" value="1"/>
<int name="level" value="19"/>
<int name="maxHP" value="100000"/>



Anyone please ?
 
Upvote 0
Moderator
Staff member
Moderator
Joined
Jul 30, 2012
Messages
1,103
Reaction score
432
well i found all item but now if i want to change Stats on Coke hat , Coke shield and Coke Earring where do i go and how :x ? please

This is pretty basic stuff to find if you .wz edit a little.

Character.wz/item.wz > item category > ID > info do same thing as mobs.

Its not Saving when ill change the hp in Mobs.wz > Mobs ID > info i change the HP where its in BOLT

Did you restart the server? Did you do it via the .xml directly that is at your server files?
 
Upvote 0
Newbie Spellweaver
Joined
Nov 2, 2016
Messages
10
Reaction score
0
Yes i did it , and when i save and restart ill try to drop the item and the item still the same , or the mobs still easy to kill



see

https://i.imgsafe.org/350938b645.jpg



Ok The mobs HP work , but the item stats still not work , i dont know why .
 
Upvote 0
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
Depending on what you plan to do with the coke hats/shields/earrings, you could either make them entirely increase on stats (XML edit the incSTR, incDEX, etc nodes), or you could always just give out items with stats for reward or something but the actual coke items remain untouched (using the server to give that item with unique stats).

Drop data is all handled in MySQL within the monsterdrops table I think back in Odin. The drop rate of the item, depending on what you want it to be, must be set properly. If I remember correctly it should be ranged from 0~99999. 0 being 0% chance and 99999 being your 99.99% drop chance, pretty much every time the item will drop. One thing to note is you have to include a mobID to drop the item. If you want multiple mobs to drop the item, or every mob, then you'll have to add them to the list in the DB too.

Modifying the MobHP should just be as simple as what you're editing. Modifying maxHP to a valid int32 value (0~2147483647) within the "maxHP" node under the info property will update the mob's HP when it is parsed. You'd need to save that XML and restart your server so it can reload that XML. If you make it too high, it won't work or will mess up the HP because it's trying to parse a signed int.

Might I suggest reading some WZ tutorials or just playing around with them a bit? WZ Editing is fairly easy to get started with after seeing how it's done, which you can probably already tell since you were able to find and edit the mob's "maxHP" value already.

EDIT: Maplecretes I'm not sure what specific stats you're trying to edit, but remember after editing the item's XML you'll need to again, restart the server and re-make the item for it to update. Remember that "req" is required stats, and you can't add requirement stats in just XML, that will actually need to be updated within your WZ files itself. As for your "inc" stats you've included in the screenshot, "PDD" refers to Weapon Defense (Physical), and "MDD" refers to Magic Defense. So you're increasing WDEF/MDEF both by 12 on the shield.
 
Upvote 0
Newbie Spellweaver
Joined
Nov 2, 2016
Messages
10
Reaction score
0
ill try to make the Coke Snail drop Coke Shield with ( for exemple : 5 all stats ) because right now the shield the mobs drop have 0 stats only 12 defense .
is there a way

and thanks for the explications . appreciated :)



Oh so all Coke item cant be touch ? sorry i am french trying to understand a bit better :p ahah
 
Upvote 0
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
ill try to make the Coke Snail drop Coke Shield with ( for exemple : 5 all stats ) because right now the shield the mobs drop have 0 stats only 12 defense .
is there a way

and thanks for the explications . appreciated :)



Oh so all Coke item cant be touch ? sorry i am french trying to understand a bit better :p ahah

Correct? All existing coke items currently made cannot be edited as they're loaded from the database now. For anyone who now picks up your coke shield after the server has been restarted on a new XML, they will pickup the shield with the additional stats. So if you want the coke snail to drop it (at what rate? 100% drop chance?), then you'd simply put the mobID of the coke snail, the itemID of the coke shield, and "chance" at whatever you drop rate. As said earlier, 99999 will make it a 100% drop chance. Make sure you're editing the Coke Shield's XML properly, save it, and restart your server for it to update though.
 
Upvote 0
Newbie Spellweaver
Joined
Nov 2, 2016
Messages
10
Reaction score
0
Everything good for this :D thanks so much !!

Now i am wondering if there anywhere i can find some file to add NPC in the market place . and Mobs training in each room is there any way i can find good link ?
 
Upvote 0
Moderator
Staff member
Moderator
Joined
Jul 30, 2012
Messages
1,103
Reaction score
432
Dunno if the v55 source has that but most sources has !pspawn and !pnpc which add a NPC permanently at a map (or a mob).
 
Upvote 0
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
Everything good for this :D thanks so much !!

Now i am wondering if there anywhere i can find some file to add NPC in the market place . and Mobs training in each room is there any way i can find good link ?

In the FM for NPC's, just stand where you want the NPC and use !pnpc <NpcID>. In the FM rooms where you want to place mobs, do the same thing but use !pmob <MobID> <MobTime>, where <MobTime> is the delay for each respawn in seconds.

Kimberly iirc, all the old Odin sources should have them, don't think I ever had a v55/v62 repack back then without em' anyway.. ;P
 
Upvote 0
Newbie Spellweaver
Joined
Nov 2, 2016
Messages
10
Reaction score
0
No i dont have the command !pnpn :x

i think i need a script something like that its been long time ago

i made my last v55 server like around 8 years ago :x
 
Upvote 0
Back
Top