Quote:
Originally Posted by ApothiX
Is your mudlib based on the one I wrote for thamhic? Same var and function names, and methods of storing data, by the looks of it.
|
Kinda similar. Thamhic was used as a reference for the original mudlib but than alot of changes were made in the second version
.
Kuji insisted on making all the systems on Theed. I can only touch them after he has finished. To his credit though, the new mudlib is awesome.
However, i find having each var for an item in an array quite ugly. What you could do is have a DBNPC which has items like this
mudlib.sword=itemname=Hax,somevar=hax!
or perhaps an address to a .arc which can be loaded.
Then for players, you could have muditem_2=sword, followed by any modifications/buffs. eg.
muditem_2=sword,+2fire,-50sharpness,+200rust
When accessed, mud function can return either an array of vars or an object containing the vars for use.
If anyone has any questions regarding mud systems, pm my RC on GX. Or forum pm but gx is faster.
If alot of people poke me, I'll write a guide on the wiki and my site. (though still waiting for mysql reset on my site)
Depends what you like though