read stuff in from files
instead of hard coding regen rates and stuff there should be a table of stuff thats read in from a file. like for each class and each race, it would make it easier for servers to give certain classes/races enhanced regeneration to to change the enhanced regeneration of trolls and iksars. and im not really sure how you do the damage tables, armor tables and hit points but i think they should all be read in from a file on the server too. if someone wants.... i dont know... rangers to tank better they could change their armor table in the file. and also porbably do the same thing with racial experience penalties/bonuses.
there could be a file that says something like Quote:
race 9 and 128 (trolls and iksars) would have 5% experience penalty (because of their regen) and class 15 (beastlords) would get 5% experience penalty because they're so imba so a troll or iksar beastlord would get -10% experiece. could do the same thing for hp regeneration so you wouldnt have to recompile every time you want to make a change, just change a little text file or fields in a database |
Grundy, this would be very easy to implement via the database. If you want to implement it, let me know and I'll help.
|
If you would please post this information! I would like to know your methods for using the database to can alter regen, mana regen, exp. Sounds like a tutorial =) Thanks!
|
its really easy, theoretically, just reading in values from a file instead of hard coding. i cant do it though, im having trouble getting the source. i have no program that can open .tar files and when i try to find a way to open them i just get sites telling me what linux commands extract the files. i found 1 program that can open and extract a tar file but it only got like 15 files out of it, for a total of about 700kb when the tar is somewhere around 1700kb and im pretty sure archiving stuff into a tar file doesnt increase file size 240% so i think its just not giving me all of the files.
and i dont think it should necessarily be a tutorial, i think it should just be part of eqemu, i mean you dont hardcode spells items and npcs so why not do the same for regen rates and experience bonuses and armor/damage tables and shit |
I use WinRAR to open the compressed source available here.
|
All times are GMT -4. The time now is 10:50 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.