View Single Post
  #40  
Old 10-18-2002, 11:37 PM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
Quote:
Originally posted by Tyhm
They were misscripted?

Man. I scripted, like, all of those personally. Oops.
They used
NPC Code:

if (this.init == 0) {
this.init = 1;
//...
}


instead of
NPC Code:

if (created) {
// ...
}


The problem of the Zorbi Ring was simply setlevel.

The PermaClothes...er...completly bugged. I couldn't find the problem. Redid them.
Quote:
For 6000 levels? =_=

Granted, I estimate 2000 of them are just play ___.mid and setbackpal, but still.
Just guess what my converter will be doing?
The timeouts are the hugest problem for autoconverting. I wanted to do this:
NPC Code:

if (timeout) {
// ...
timeout = 0.05;
}


would be converted to
NPC Code:

if (timeout) {
for (c13sct=0; c13sct<2; c13sct++) {
//...
}
timeout = 0.1;
}


But:
  • that wouldn't work on NPCs which are using more than one value for the timeouts. (Just place the default NPC and set respawn).
  • And it would be very hard to do anyway.
Quote:
Com, if you want the help go ahead and draft him...I'm stayin' outta it for now. ^_^
I thought we weren't allowed to give levels/level access to non-LATs? Do we have to hire him first? I could ask Loriel, too...
I will remember Jeff when we get the server and the levels got through the first conversion step.
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote