mob |
Problem description:
ID:139918
Jul 19 2010, 6:09 am
|
||
Code:
Problem description: | ||
#1 Jul 19 2010, 6:49 am
|
|
Personally, I say you should never save verbs for any reason. I believe verbs should be given and re-given upon login.
| |
No, you wouldn't.
This is just one example of how to do it. | ||
You wouldn't be able to use that for anything dynamically character based. At least not without saving something, somewhere, to denote which verbs to add.
ie: If I join a leaf village in naruto rip #9001, unless I somehow save that I'm in leaf land then I won't know to add leaf verbs. | |
Well that's a poor example since those rips have horrible game design to begin with. But if you had to do something, you could check their village upon login and then what hand seals they know and give them their village's verbs accordingly. Granted, all they would have to do is relog upon learning all the hand seals and then magically they'd receive their verbs, but that just reinforces my earlier statement about those rips having poor game design from the beginning.
EDIT I use objs for my "skills", and if they have a verb attached to them, then the player receives it (obviously). That's one way of indirectly saving the verbs I suppose. | |
#6 Jul 19 2010, 1:43 pm
|
||
You are attempting to add null to src.verbs. Hence, the error.
Regardless, you are saving incorrectly. The correct format is like so:
| ||
Yeah, it works now. But I constantly update the game, so is there any way to make it so it saves them even when I restart server?
| |