Jump to content

Small milestone to item_db.txt


EvilPuncker

Recommended Posts


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

What about you guys changing all leftover numeric values into constants, like skill names in item_db for better reading? If you guys want I can do it and provide a diff to be commited

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

Are these constants already in trunk/db/const.txt, or would we have to add new constants ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

Are these constants already in trunk/db/const.txt, or would we have to add new constants ?

I mean basically changing skill ids to skill names and also some elements/races that still uses its ID

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   8
  • Joined:  01/09/12
  • Last Seen:  

I would love it, CONSTANTS is in all the way too much better

Edited by rafoka
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

I would love it, CONSTANTS is in all the way too much better

indeed, I'm just waiting for someone to tell me to go ahead and I will do it myself

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

go ahead I'll take a look at it =)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   12
  • Joined:  03/08/12
  • Last Seen:  

What about you guys changing all leftover numeric values into constants, like skill names in item_db for better reading? If you guys want I can do it and provide a diff to be commited

+1 :)

Edited by kyeme
Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

To be honest, i think alot of users would prefer to see names instead of IDs. I like it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

did it and some more :P edit as your need:

http://pastebin.com/aLcGgJtd

also there still 15 occurrences of isequipped that I didn't bothered to look at but maybe you guys should move them to item_combo_db.txt

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

Thx EvilPuncker, I always forget.

Looks good at first sight but I'll need to try it properly before commit it so probably this weekend it'll be done, or if someone wanna do it feel free.

Anyway thx EP =)

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

Are these constants already in trunk/db/const.txt, or would we have to add new constants ?

btw I've added 3 new constants for sizes :) I've found it necessary xd but you guys should decide what to do

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

saw that, there a small mistmatch with size constant wich ain't the same for mob and player but that another issue

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

So I looked the patch EvilPunker and there some issues :

script error on db/re/item_db.txt line 1053

parse_callfunc: not enough arguments, expected ','

* 1053 : { bonus bStr,2; bonus bInt,1; bonus2 bAddRace,RC_DemiHuman,95; bonus2 bVariableCastrate,"MO_EXTREMITYFIST",-25; autobonus "{ bonus2 bVariableCastrate,"'M'O_EXTREMITYFIST",-100; }",50,6000,BF_WEAPON,"{ specialeffect2 EF_SUFFRAGIUM; }"; bonus bUnbreakableWeapon,0; }

This is due to " " quote, since you using them for the skill name you breaking the quote thus generating an error on autobonus.

Then another more important error is that right now not all bonus can support skill name, just a few do the resolution to skillid.

So that was just to give you some feedback, I'll work on it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

thanks for the feedback

Link to comment
Share on other sites

×
×
  • Create New...