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!

Item Hex Generator

Junior Spellweaver
Joined
Dec 21, 2008
Messages
195
Reaction score
10
Maybe any ppl from indonesia :) want to use Bahasa Indonesia, sorry for bad translate


 
Skilled Illusionist
Joined
Apr 3, 2011
Messages
341
Reaction score
44
Mr. Goodlookinguy

you say
Version 0.4 (12/10/2010)
+Initial Version
+Armor Hex Generation

Version 0.5b (12/19/2010)
+GUI Changes
+Movement+
+Endurance+
+Requirements-

Version 0.7d (12/31/2010)
+Weapon Hex Generator
+Updater
+Misc

Version 0.8a (1/1/2011) [Get by updater]
+Save/Load for Weapons (Still might have bugs)
+Hex Breakdown (Some)
+Misc

Version 0.8c (1/26/2011) [Get by updater]
+Special: Soul Shatter

Version 0.8d (1/26/2011) [Get by updater]
+Armor Bonus Bug Fix
+Slight GUI change in preparation for upcoming update (Sockets box)

I have Version 0.7d (12/31/2010) , when I click update, show :

Update Info found
Your current version is 4
Server current version is 0
Version is newer than expected

I want to upgrade to 0.8c for update.
I just need addons Soul shatter.
please open link updater
 
Junior Spellweaver
Joined
Dec 11, 2010
Messages
101
Reaction score
110
Maybe any ppl from indonesia :) want to use Bahasa Indonesia, sorry for bad translate



Awesome, thank you. I'll get them in a bit and add them to the new version.

Mr. Goodlookinguy

you say


I have Version 0.7d (12/31/2010) , when I click update, show :

Update Info found
Your current version is 4
Server current version is 0
Version is newer than expected

I want to upgrade to 0.8c for update.
I just need addons Soul shatter.
please open link updater

Sounds like my server was temporarily down OR your connection was refusing to connect to my server. Either way, nothing I could do would make a difference.

Also, the newest version on the server appears to be 0.8d (Just used the updater). Which is odd considering there are versions ahead of that which I guess I forgot to release, aside from 2.0. Nevermind that, it should be working now.
 
Junior Spellweaver
Joined
Dec 11, 2010
Messages
101
Reaction score
110
Not so much add things in all honesty... But I would love to have the source (or at the very least a dll of the item generation and all that) so I can add it into existing projects where it'd be useful.

I will make a .NET 2.0 DLL with the code you need. So as long as the program you're using is .NET 2.0 or above, it should work just fine. I can attempt to port it to native system code if you need, though I suspect it will have errors since I haven't used C in a while.
 
Joined
Apr 11, 2010
Messages
931
Reaction score
407
I have figured out how the addon hex is actually generated!

Basically, Drakaer noticed a pattern of 2 among all of these produced items. Later, after he logged out, I was wondering why the special items had 2 extra bytes and had a 4 in place of the 2. It's because that number represents the number of 2-bytes after the ID that will be read and why it was causing the system to crash. In reality, the special items don't have two extra bytes. It's just that it was reading two extra bytes and ignoring them, but the reason it was still working.

This means that the PW Hex Gen, and every other generator, is producing extra bad, garbage hex in it. This is a huge breakthrough, now if I could just figure out that type definer...

In case that made no sense to you
[1e25][de00] -> [251e] -> 51e = ID 1310 (elements.data)
[de00] -> [00de] -> value = 222 (look in elements.data, it's the same value)

I think the garbage hex on the end that is the 2 extra bytes is the "Value 2" field in elements.data. It seems to be completely useless in my tests and has either the same value as "Value 1" or is 1. Do you have any idea what this field actually is and does? Ingame the client only generates this field on the special addons even though something like 1253 has 2 values and actually has a value for "Value 2" while the special addons has a value of 1.

I think if we use 6 bytes instead of 4 or 2 we should be able to use the "Value 3" field but I think it will be just as useless.
 
Junior Spellweaver
Joined
Dec 11, 2010
Messages
101
Reaction score
110
I think the garbage hex on the end that is the 2 extra bytes is the "Value 2" field in elements.data. It seems to be completely useless in my tests and has either the same value as "Value 1" or is 1. Do you have any idea what this field actually is and does? Ingame the client only generates this field on the special addons even though something like 1253 has 2 values and actually has a value for "Value 2" while the special addons has a value of 1.

I think if we use 6 bytes instead of 4 or 2 we should be able to use the "Value 3" field but I think it will be just as useless.

Yes, what I called garbage hex is the "Value 2" field in elements.data. My tests proved that nothing happened with or without it, so I declared it as space wasting garbage. Personally, I'd like to play around with the 2nd value a bit and see if anything happens. As well as playing with the 1st value. To see if, for instance, that value alters what additional effects activate.

I'll attempt to get around to it after I finish working on this PLC code. Or you can mess with it for me and give me the results.

Also, yes, making it read 6-shorts (12-bytes) should allow for the third value. Which, I assume does nothing? It seems to always be zero inside the database.
 
Last edited:
Nerd-IO
Loyal Member
Joined
Feb 13, 2009
Messages
3,303
Reaction score
651
Translation for french users:

settings.ini
Code:
[Version]
version=11

[Settings]
Lang=ja-JP

[Languages Available]
LangList=en-US,ja-JP,pt-BR,fr-FR
ListLang=English (US),日本語,Português (Brasil),French

; To add a language just write the locales code

; English
en-US=English (US)

; Japanese
ja-JP=日本語

; Brazilian Portuguese
pt-BR=Português (Brasil)

; French
fr-FR=French

lang.fr-FR.ini
Code:
[Version]
version=11

[Main Form]

; Main Menu
File=&Fichier
Help=&Aide
Language=&Langue
Update=&Mise à Jour

; Main Menu -> File Menu
Load=Ouvrir
Save As=Sauver Sous
Export=Exporter
Import=Importer
Exit=&Quitter

; Main Menu -> Language Menu
Reload Language=Recharger la langue

; Main Menu -> Help Menu
How To Use=Comment utiliser
Hex Breakdown=Détail sur le Hex
Mask List=Liste des masques
About=A propos

; Tabs
Weapon=Armes
Armor=Armures
Accessory=Bijoux
Wing=Ailes
Item=Objets
Skill=Compétences

; Tabs -> Weapon/Armor/Accessory
Generate Hex Data=Génerer Données Hex
Disassemble Hex Data=Désassembler Données Hex
Requirements=Pré-requis
Stats=Stats
Additional Settings=Options Additionels
Output=Sortie

; Tabs -> Weapon/Armor/Accessory -> Requirements
Level Requirement=Niveau
Strength Requirement=Force
Vitality Requirement=Vitalité
Dexterity Requirement=Dextérité
Magic Requirement=Intéligence

; Tabs -> Weapon/Armor/Accessory -> Additional Settings
Class Requirement=Classe
Bonus Value=Valeur du Bonus
Creator=Artisant
Up=Haut
Down=Bas
Delete=Supprimer
Add=Ajouter

; Tabs -> Weapon/Armor -> Additional Settings
Sockets=Cavités

; Tabs -> Weapon -> Additional Settings
Grade=Grade

; Tabs -> Weapon/Armor/Accessory -> Stats
Duration Minimum=Durabilité Minimum
Duration Maximum=Durabilité Maximum

; Tabs -> Armor/Accessory -> Stats
Physical Defense=Défence Physique +
Metal Resistance=Résistance Metal +
Wood Resistance=Résistance Bois +
Water Resistance=Résistance Eau +
Fire Resistance=Résistance Feu +
Earth Resistance=Résistance Terre +
Evasion=Esquive +

; Tabs -> Weapon -> Stats
Physical Attack Minimum=Attaque Physique Min.
Physical Attack Maximum=Attaque Physique Max.
Magic Attack Minimum=Attaque Magique Min.
Magic Attack Maximum=Attaque Magique Max.
Frequency=Vitesse d'attaque
Minimum Effective Range=Distance Effective Min.
Range=Portée
Weapon Type=Type d'arme

; Tabs -> Armor -> Stats
HP=PV +
MP=PM +

; Tabs -> Accessory -> Stats
Physical Attack=Attaque Physique +
Magic Attack=Attaque Magique +

; Races Box Text
All=Tous

[Race]

; PWI Names
Blademaster=Champion
Wizard=Mage
Psychic=Mentaliste
Venomancer=Toxicomancien
Barbarian=Barbare
Assassin=Assassin
Archer=Archer
Cleric=Prêtre

[Weapon Types]

; Needed Weapon Types
Bow=Arc
Crossbow=Arbalète
Slingshot=Fronde
Polearm=Pique
Sword and Blade=Epees et Lames
Fist=Poing
Magic Instrument=Instruments Magiques
Dagger=Dagues
Sphere=Orbescines
 
Junior Spellweaver
Joined
Dec 11, 2010
Messages
101
Reaction score
110
Translation for french users:

Maybe any ppl from indonesia :) want to use Bahasa Indonesia, sorry for bad translate

Thank you both. The languages have been added with author credits and work 100%. I should have a working 2.0 alpha in a few days. My main issues at the moment are XML handling. It's really annoying.
 
Black Magic Development
Loyal Member
Joined
Apr 29, 2010
Messages
2,170
Reaction score
600
I will make a .NET 2.0 DLL with the code you need. So as long as the program you're using is .NET 2.0 or above, it should work just fine. I can attempt to port it to native system code if you need, though I suspect it will have errors since I haven't used C in a while.

Yeah that'll be fine. Everything I write for Windows now is in C# anyway. (and you can use .NET code mixed with native stuff in Visual Studio anyway)
 
Nerd-IO
Loyal Member
Joined
Feb 13, 2009
Messages
3,303
Reaction score
651
Tell us when it will be finished :D I realy like to try the new version of your XML generator!
 
Junior Spellweaver
Joined
Dec 11, 2010
Messages
101
Reaction score
110
Tell us when it will be finished :D I realy like to try the new version of your XML generator!


Sorry, I'd probably have it finished by now if I didn't join LDPW. At the moment I have to finish the site there. Since I'm using my PerfectWorldAPI to do it, that means that I'm pretty close to doing so. Cause that's half of the work. So, it'll probably be another two/three weeks before I can finish the new version of this.

----- I'd also like to put this out for anyone
This is the program I use when testing and making number conversions:
 
Last edited:
Junior Spellweaver
Joined
Dec 11, 2010
Messages
101
Reaction score
110
It relies on Microsoft's .NET framework. Link:
 
Newbie Spellweaver
Joined
Jan 19, 2012
Messages
34
Reaction score
5
I can't update
Do you share link dow v2.0 for me
 
Junior Spellweaver
Joined
Dec 11, 2010
Messages
101
Reaction score
110
I can't update
Do you share link dow v2.0 for me

2.0 is not up yet, calm down.

-----
SPCalc was updated! I renamed labels properly and compiled for 32-bit so that everyone can use it. Last one was compiled for 64-bit processors.


EDIT: SPCalc was updated again. Other version did nothing.
 
Last edited:
Newbie Spellweaver
Joined
Feb 25, 2012
Messages
30
Reaction score
1
How to get this in to the game? (Im a noob at this xD)
 
Back
Top