 |
 |
 |
 |
|
 |
 |
|
 |
 |
| Author |
Message |
Marilla
Joined: 02 Feb 2006 Posts: 329
|
Posted: Tue Nov 28, 2006 11:32 am Post subject: |
|
|
You will likely eventually have stuff in start.src/.ecl, but just to get running, it's not needed at all; POL caught the exception generated by that file being missing, and moved on.
The source and list (.src and .lst) of your vitalInit could be useful to see at this point, as that is what was running last when the crash occurred. I always run my compiles with the 'list' option enabled, so that I always have a .lst file available right away, if it's ever needed to track a crash (which thankfully, knock on wood, happens very rarely on our shard)...
Anyway, one thing just off the top of my head that may or may not be worth the keystrokes I'm using to write them. In re: this post:
http://forums.polserver.com/viewtopic.php?p=5728&highlight=#5728
The values you set for regen rate and max are very, very low. You've basically capped every single mobile at 1 hit point max. (the value from there is a 'base' value, which is in hundredths) Also, my own regen rate function returns a default of 1200, so the 100 you returned there is also very low.
It would seem that, despite the very low values, POL should handle it. If you want health regen to be 1/12 of what mine is, and if you want all mobs to have max HP of 1, that's your issue (and my understanding is you just tossed in those values in the function just to get things running, not because you decided those are the values you want).... however, perhaps one of those numbers being so low is the cause of the crash.
Try raising the return values of those two functions. Just to be in 'safe', normal territory (again, still not 'real' values you would use with a real shard), have the regen function return 1200, and have the Max value function return 10000. Recompile (with the 'list' option so that you get the .lst file, in case it crashes again), and see how it works.
If it still crashes, post the .src and .lst (and make sure the pol.log shows the same last script running. If not, you'll need src/lst from whatever other file it shows) |
|
 |
|
|
 |
 |
|
 |
 |
|
 |
 |
|