Topic: Looking up vanilla item prices and weights  (Read 16569 times)


Night

« Reply #15 on: November 22, 2019, 09:50:32 PM »

Actually every melee weapon has an attack/defense bonus, which is represented by a number from 0 to 6. You can check in-game by examining the weapon in your inventory, and even mod the values:
https://www.unrealworld.fi/wiki/index.php?title=Weapons

On the other hand, the accuracy parameter should be only for bows and crossbows, but it's hidden in-game and cannot be modded.

Ranged accuracy is in the struct this table was scraped from (modifiable via cheat engine). Bonus attack and defense were not described in the struct as far as I could see. Maybe someone else can spot it:

http://prntscr.com/q0rttk

Also, bows aren't exclusive to the ranged accuracy value, spears also have a ranged accuracy (not described on wiki as far as i know).

http://prntscr.com/q0s2he


edit: Potentially found attack/defence bonus. confirming atm.

Attack/defense bonus were stored in an unusual way making it hard to correlate the wiki values to data.
http://prntscr.com/q0saqb

52 represents the attack AND defence bonus for the item staff in this case, converting 52 to hex we get 0x34, and then splitting the two numbers from each other we get the respective values 3 and 4 for defense and attack bonus. strange that its done this way...

here are some other values for reference:

Battlesword: Value 37, hex 0x25, bonus values 5 attack 2 defense.
Staff: value 52, hex 0x34, bonus values 4 attack, 3 defense.
Scimitar: value 34, hex 0x22, bonus values 2 attack 2 defense.
Boardsword: value 35, hex 0x23, bonus values 3 attack 2 defense.
Mace: value 19, hex 0x13, bonus values 3 attack 1 defense.

Highly likely this value represents the bonus'.


edit2: I have found another table created by someone on the wiki, including some values not included on this table. this is for version 3.52, however it should still be relevant.

https://github.com/fabio-t/UrwObjDump/blob/master/Dumps/3.52.constant.obj.csv
« Last Edit: November 23, 2019, 01:27:05 AM by Night »
URW Character Menu - Cheating menu by a player, for the players.
URW Character Designer - Design your characters sprite!

smilediver

« Reply #16 on: January 09, 2020, 12:11:59 PM »
edit2: I have found another table created by someone on the wiki, including some values not included on this table. this is for version 3.52, however it should still be relevant.

https://github.com/fabio-t/UrwObjDump/blob/master/Dumps/3.52.constant.obj.csv

I'm the author and maintainer of this tool. The original link to the repo is at https://github.com/smilediver/UrwObjDump . I play the game on and off, so I'm updating the tool sparingly. You can find already dumped 'constant.obj' files for different game versions here: https://github.com/smilediver/UrwObjDump/tree/master/Dumps . And you can dump obj files on your own by downloading the tool here: https://github.com/smilediver/UrwObjDump/releases . I also maintain item structure of known fields here https://github.com/smilediver/UrwObjDump/blob/master/UrwStructs.hsl , that can be used in "Hex Workshop" editor to inspect and modify obj files.

Night

« Reply #17 on: January 10, 2020, 11:51:33 AM »
edit2: I have found another table created by someone on the wiki, including some values not included on this table. this is for version 3.52, however it should still be relevant.

https://github.com/fabio-t/UrwObjDump/blob/master/Dumps/3.52.constant.obj.csv

I'm the author and maintainer of this tool. The original link to the repo is at https://github.com/smilediver/UrwObjDump . I play the game on and off, so I'm updating the tool sparingly. You can find already dumped 'constant.obj' files for different game versions here: https://github.com/smilediver/UrwObjDump/tree/master/Dumps . And you can dump obj files on your own by downloading the tool here: https://github.com/smilediver/UrwObjDump/releases . I also maintain item structure of known fields here https://github.com/smilediver/UrwObjDump/blob/master/UrwStructs.hsl , that can be used in "Hex Workshop" editor to inspect and modify obj files.

Hello! I'm still mapping the struct as well, I can help you map some of the ones you're missing if you're interested. Let me know ^^.
URW Character Menu - Cheating menu by a player, for the players.
URW Character Designer - Design your characters sprite!

StefanPravda

« Reply #18 on: February 02, 2020, 01:52:29 PM »
These things are better than the wiki.  :-*

 

anything