> My problem is that now it gets to giant strength (base Rom spell, havent
> added/removed any base Rom skills/spells) and tells me it finds 'ΓΏ' in the
> file. 
Firstly the symbol you are getting means that you're NOT doing something 
right, way before you even get to the saving part of your skill/spell file.
My guess:
You're writing spell_fun as a string, which it AINT. Don't try to write it out 
as a string, follow how he's done it (if you absolutely MUST have everything 
split into two files).
Now, as for the rest of your query:

Think of it a little bit like this...
What you want to do is entirely too much work for the output, or the outcome 
of what it will become.
Here's why:
--Firstly,  you  have to modify spell and skill load AND save structures, 
causing them to write (and read) from two different files.
--Secondly, you have to figure out just exacly what to DO with those 
structures once you get them on line.
--Thirdly, you have to split the structures up. Skills are NOT seperate from 
spells (they just require gsns, while spells don't, and have a few other 
perks). The way you want things done will require a total revamp of the 
skill/spell structure, for loading, saving, writing, all that, just so that 
it'll recognize what you want.
--Fourthly, you have to wonder how you're going to actually INITIALIZE 
MAX_SKILL (or max_spell) once they're all loaded. Currently, all of that's 
done in one file, so it's pretty damn easy. The number at the top of the file 
(the FIRST number read) is the # of skills/spells combined. How do you plan 
on telling it to initialize MAX_SKILL after you take that number away?


Take it from someone who's been where you are. Find yourself a good coder to 
sit down and hold your hand, helping you. Obviously that's what you need (and 
that AINT a bad thing), because otherwise you'd have recognized the output 
for what it is (that char can't even be PRINTED on standard terminals without 
a lot of help:P).

----------------------------------------------------
TJW: Head tech, Dreamless Realms
Mud: http://dreamless.wolfstream.net
Snippets http://dreamless.wolfstream.net/
Telnet dreamless.wolfstream.net:9275
The OLC Pages http://olc.wolfstream.net
----------------------------------------------------

Reply via email to