what im trying to do is make an online skill/spell editor. ive come across a little snag tho, which is gsn's. i dont know how to load a gsn from a file and assign it to the gsn_xx integer. so as a result, none of my skills ever work, they may as well be set to 0% instead of 100%.

i made a little function to turn a spell/skill name into a gsn, and accordingly they all match the ones in db.c and merc.h, however i just dont have a clue how i can load backstab, and do this:

else if ( !str_cmp( field, "GSN" ) )
    *skill_table[i].pgsn = fread_word( fp );

u see the dilemma, obviously since pgsn is "sh_int *pgsn" it doesnt like fread_word...or *fread_word(fp) or anything...i suspect this is probably either impossible or really easy lol.

i hope this post makes sense

-omar

_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.

Reply via email to