Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting > EO PServer Guides & Releases
You last visited: Today at 17:23

  • Please register to post and access all features, it's quick, easy and FREE!


[GUIDE] Hexedit Shopping Mall to replace Items Equipment and Eggs

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2006
Posts: 504
Received Thanks: 1,039
Exclamation [GUIDE] Hexedit Shopping Mall to replace Items + Shell.dat hexedit Mini Guide

Hexedit Shop.dat to replace Items

Here ill show you how to hexedit the shopping mall to replace items, not adding new ones, cause i don't get success in it yet.

First we need a good hexeditor, i use winhex:



copy your shop.dat from your client to your desktop (and make a backup of it in case you screw it up)

Launch winhex.exe and open the shop.dat file, this is the main screen of it:




Ok now go to menu Search -> Text and put in the box the word VIP

it will bring you there:




As you can see i maded i litle legend for you to find the first things and understand the hex code of the shopping mall, now we go deeper in this.

Look the first item that i made a green circle its value in hex is D2 1F 0B 00

To understand what item it is we just do this, go to tools menu and choose Hex Converter (F8)

in the left box enter the hex code of the first item, but here its an important step for all your editings, the code must be inversed! What i mean ?

As we saw above the first item hex code is D2 1F 0B 00 ok ? if we inverse it, it gives 00 0B 1F D2, simple no ? think like a mirror trick, very easy. ok now we put in the left box of the Hex converter the code that we inversed so type in it

00 0B 1F D2 and hit the Enter button, in the right box it will give you 729042

Search for this item in database or all the txt files out there with all the items, you will find this: Redstone Pack

If you login in game you will see that in fact its your first item !

Screen for all that above:




Easy no ? Ok lets continue

All the things below the VIP mark are items - eggs - equipments that are in shopping mall, in fact if you look closer you will see that each item got always another hex value next to it. lets see this...

The first item D2 1F 0B 00 has next to it another value that is 69 74 65 6D wich means that it tells to client that this is an item, for eggs you will see next to an egg item the word egg wich value is 65 67 67 00

Ok so now we want to change an item !

Lets change the first one (The RedstonePack)

As we saw above its value is in shopping mall D2 1F 0B 00 so we locate it in the hexeditor

Lets say we want to replace the RedstonePack with the Super Amber gem

we search first the decimal value(ID) of the Super Amber Gem item, ok we search and find it: 1038170

Now we need to convert it into hex value so we open again in hexeditor the hex converter by going in Tools menu -> Hex Converter or use F8.

In the right box this time we enter the value of the Super Amber gem, enter 1038170 and hit Enter:




Ok now we got the hex value of the Super Amber gem its FD75A

You may ask what happend why less numbers and letters ?

Simple, the converter don't show the zero's so we add them.

Now we need the inverse that code before we replace the item in shopping mall.

FD75A will become 5A D7 0F 00

As you can see the zeros are to be added only on the first left, never on the right so A will not be A0 but F will be 0F.

Here is now the final part of the replacing item method:

We simply change D2 1F 0B 00 to 5A D7 0F 00 and done !

Save your shop.dat (don't forget to put it in client ini folder)

See here the result of the hex:




To make this item buyable now we need to add it into the database also!

Go to your database through Navicat or whatever you use and open cq_goods table.




I think the picture shows all, in the id we add a custom id, in the ownerid we add 1207 for Shopping Mall and in itemtype the ID of the item.

Voila, restart your server and login and open Shopping Mall you can buy Super Amber now from this shop.

To replace more items just scroll on hexeditor and see where it says item, next to it is the hexcode of the item we wanna change, do always the same for all items, for eggs you have to replace by eggs, for equipment same, i tried to replace an egg with an item it didn't worked so always replace all the stuff by the same stuff and it will be ok.

I hope you understand my guide and get success with your own Shopping Mall
Cheers, Cyberghoser1


Guide to add new item can be found here, thanks to E.M.E



Note: The items could be different in your shop.dat so ill upload mine so you can train yourself with it.





Simple shell.dat hexedit mini guide for newbies



This operation is very easy, open winhex again and locate the shell.dat file in your gameserver folder and open it, it might look like this or have different values, its ok since we gonna see how to change them:



Now as you can see mine got 127.0.0.1 and under that power.... as servername and below root then test , what all that means ?

127.0.0.1 is the ip of server
power.... is the name of my server
root is the login of my mysql connection
test is the pass of my mysql connection

Picture of all that:



Now to edit those values we dont need to do it by puting hex codes but just on clicking on the simple values, such as on the ip then servername then mysql. One thing to remember is that in the ip at the end after the last number we must add a dot, in fact in hex code a dot is interpreted 2E as you can see in my picture the ip is 127.0.0.1 and if you look on the left window where all are hex codes you see at the en 2E, this is the last dot to add. For servername just change it and for mysql also change only the login and the pass then save this file and you are set, remember that those values must match your ini files also, this is my final edit, just remember the dot after the last number of the ip:






cyberghoser1 is offline  
Thanks
41 Users
Old 11/30/2008, 16:23   #2
 
elite*gold: 0
Join Date: Oct 2007
Posts: 74
Received Thanks: 12
Wow nicely done! This is a very nice guide, so easy to read, so easy to do. Helped me out a bit... tnks ^^


pyromaster is offline  
Old 11/30/2008, 16:30   #3
 
elite*gold: 0
Join Date: Jan 2006
Posts: 504
Received Thanks: 1,039
anytime dude
cyberghoser1 is offline  
Thanks
1 User
Old 11/30/2008, 17:15   #4
 
elite*gold: 0
Join Date: Jun 2006
Posts: 23
Received Thanks: 0
This just made things a lot simpler, again thanks..


LordIllithid is offline  
Old 11/30/2008, 20:43   #5
 
elite*gold: 0
Join Date: Jun 2008
Posts: 345
Received Thanks: 177
thx alot for ages im try to learn how thx thx thx
PhantomNyte is offline  
Old 12/01/2008, 08:29   #6
 
elite*gold: 0
Join Date: Oct 2007
Posts: 680
Received Thanks: 808
Nice! Thanx
cruey is offline  
Old 12/02/2008, 04:36   #7
 
elite*gold: 0
Join Date: Jul 2008
Posts: 111
Received Thanks: 16
Good job ghoser,
Well there is lot ppl here that dont know how to hexediting.
Maybe later, u will make guide how to hexediting shell.dat

Well it involves letters, many ppl have problem here. Dont mind me :P

i know how but i think u better make one, im not "guidance type" people ^^
Deftron is offline  
Old 12/02/2008, 06:44   #8
 
elite*gold: 0
Join Date: Jan 2006
Posts: 504
Received Thanks: 1,039
well editing shell.dat in gameserver is quite easy but ill post it in the same post, i dont think there is need to make a new thread for that...
cyberghoser1 is offline  
Old 12/02/2008, 06:57   #9
 
elite*gold: 0
Join Date: Jul 2008
Posts: 111
Received Thanks: 16
yeah, do that ^^ and good job again ^^
Deftron is offline  
Old 12/04/2008, 19:31   #10
 
elite*gold: 0
Join Date: Mar 2008
Posts: 339
Received Thanks: 360
you can replace egg with item if you change the "Egg hex into equipment" i'll take screens to show in secs
E.M.E is offline  
Old 12/04/2008, 19:42   #11
 
elite*gold: 0
Join Date: Mar 2008
Posts: 339
Received Thanks: 360
Hope this helps


Replace the Egg part to equipment so shopping mall reads it as equip... or item to read it as mis "Any items other than equips"

equipment = 65 71 75 69 70 6d 65 6e 74
Item = 69 74 65 6d
Egg = 65 67 67
E.M.E is offline  
Thanks
1 User
Old 12/05/2008, 10:29   #12
 
elite*gold: 0
Join Date: Jan 2006
Posts: 504
Received Thanks: 1,039
thanks to clarify this
cyberghoser1 is offline  
Old 12/05/2008, 11:26   #13
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,767
Received Thanks: 1,695
good guide dude but you should use the interpreter instead of the converter it gives real time updates of hex values, you can set it up to display all types of integers

[i use winhex myself]
funhacker is offline  
Old 12/05/2008, 12:33   #14
 
elite*gold: 0
Join Date: Jan 2006
Posts: 504
Received Thanks: 1,039
Yeah i saw that after using winhex a lot, but ok i think anyone can find out now an play with it...
cyberghoser1 is offline  
Old 01/20/2009, 13:46   #15
 
elite*gold: 0
Join Date: Jun 2008
Posts: 9
Received Thanks: 0
Thx alot was haveing problems with the mall ^^ just one thing tho....its not letting me change the numbers and letters


Chasetheace1 is offline  
Reply



« [Release] New 2 Pets | Free LogIn ToOl »

Similar Threads
[GUIDE] Editing Shopping Mall in Hex
12/11/2010 - Shaiya - 11 Replies
I am releasing this to help in knowlege of Cash.SData @edit = Image Descriptions are Translated ^^ sorry for my bad english if somebody have doubt i will help. I use the program Hex Workshop Hex Editor. ...
[HELP] Adding new items to Shopping mall
08/29/2010 - EO PServer Hosting - 11 Replies
Well :/ I tryed Makeing MY shopping mall better i added The Exp ball pack B,C and A And some other casuals. what happened was i logg in after editing my Shop.DAT and ItemType Useing Editing tools From Revo And then i logg in and some a invisable...
How do I add items to shopping mall?
02/10/2010 - CO2 PServer - Discussions / Questions - 2 Replies
How can I add items to the shopping mall? Is there a guide for it? Just tell me how to do it and what to go to. Thanks!
old shopping mall items?
05/04/2008 - SRO Main - Discussions / Questions - 4 Replies
Hey i just started playing silkroad and is there any link to pictures of all older dresses and hats which arent available anymore? in the shopping mall. I was just interested in them. ty green tea :eek:
What are items in shopping mall of the OfflineTG?
01/18/2008 - CO2 Main - Discussions / Questions - 5 Replies
What are items in shopping mall of the OfflineTG? Anyone have screenshots or list + price?



All times are GMT +2. The time now is 17:23.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.