Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tutorial] g62 mixing fix.

Arrogant Wizard
Loyal Member
Joined
Mar 30, 2007
Messages
745
Reaction score
34
Introduction
As many might know, mixing a g62 Bow or Stick will on many servers
result in a g45 imperial instead of a g62 imperial.
There are different ways to solve this and this is how we did at Project HOAX.

Prerestiques
First of all, you need to give all g45 weapons new indexes.
(yes, we recomended you also do it for swords to avoid confusion).
This is done in the InitItem.txt , and also you need to update the
inititem.dat and the message-e.dat in the config.pk to ensure
the names are matching.

Remember to write the numbers down!

After this you must also change the ItemGroups (drops)
to the new indexes.

The Trick
After this is done, change the imperial g62 weapons to the former
g45 weapons. And ofcource ensure the names are corrected too.

SQL - If your server allready is running
In case of you allready have a server (like us) , you have to
replace the indexes in the database.

Example:
  • 796 - G62 Imperial Bow of Darkness
  • 109 - G45 Baek Dae Steel Bow (old)
  • 8001 - G45 Baek Dae Steel Bow (new)
Code:
-- Change Steel Bow to new index
UPDATE [Item] SET [Index] = 8001 WHERE [Index] = 109

-- Change Imp. g62 to new index
UPDATE [Item] SET [Index] = 109 WHERE [Index] = 796

Remember your server should NOT be running while this is being ran,
else you will get some serious bugs ;-)

Thanks to Yakuzing for the idea, and for making all the hard work
writing the new groups and items.

Notice that the above numbers are examples, and should not be taken serious. Check your with your InitItem.txt to find the correct IDs
 
Newbie Spellweaver
Joined
Oct 18, 2006
Messages
11
Reaction score
0
Re: [GUIDE] g62 mixing fix.

Or Hexedit the hm was it Mainsrv? I think and add/change the update set to the right place/index. Much easier as this way... :p

Greetz Free :D
 
Kal Craker
Joined
Apr 29, 2006
Messages
173
Reaction score
6
Re: [GUIDE] g62 mixing fix.

where it was this query in DbSvrt or MainSvrt ? cant find it =/
not DeathArt query,the original query with error,that make g62 in 45.
 
Arrogant Wizard
Loyal Member
Joined
Mar 30, 2007
Messages
745
Reaction score
34
Re: [GUIDE] g62 mixing fix.

where it was this query in DbSvrt or MainSvrt ? cant find it =/
not DeathArt query,the original query with error,that make g62 in 45.
It's not a query , that's the problem ;-) it's hardcoded in the engine (lol, clientside, lame design :p). That's why we choose this method.
 
Kal Craker
Joined
Apr 29, 2006
Messages
173
Reaction score
6
Re: [GUIDE] g62 mixing fix.

this gives me ideeas :D if its in engine,then u can make it to get everything from mixing :D,but the hard part is to find that piece of code ;)

//edit
hmm what hexeditor have posibility to analyze the diference betwen codes of 2 exe ? :D
 
Junior Spellweaver
Joined
Sep 9, 2006
Messages
173
Reaction score
0
Re: [GUIDE] g62 mixing fix.

hex comparisoni believe will do that
 
Junior Spellweaver
Joined
Nov 18, 2006
Messages
184
Reaction score
10
Re: [GUIDE] g62 mixing fix.

death sorry to say mate i realy doubt it will be the engine that does the mixing system all the engine does is put every thing in to place client side and deal with some commands but its in the main server dude trust ^^
 
Arrogant Wizard
Loyal Member
Joined
Mar 30, 2007
Messages
745
Reaction score
34
Re: [GUIDE] g62 mixing fix.

death sorry to say mate i realy doubt it will be the engine that does the mixing system all the engine does is put every thing in to place client side and deal with some commands but its in the main server dude trust ^^
mm, that was my thoughts too.

But take like crow status, they are hardcoded in the engine (clientside). I wouldn't be surprised if inixsoft did a total clientside transformation of the items ;-)

Never the less, the above fix works very well. We been running with it for some days, now with extra happy players =)
 
Back
Top