Author Topic: Script: Auto-destroy vehicles  (Read 3277 times)

I know it is, but still...he could have made a new topic D:
No, posting here is easier for Ephi.
Means he doesn't have to look for it.

He could have made another one easy o.o

Stop with all the stupid smilies, it was easier to post here. Now get over yourself.

Stop with all the stupid smilies
What the forget are you talking about o.o


I figured it was more convenient to just bump the old one.

Thanks for the port!

[Quotes]
That's how I show emotion without emote spam. Sometimes I'll say something mean buy with a "o.o" meaning I am confused about it, so they understand better...

There seems to be a very serious bug with the script:

- Error:
 Add-Ons/Script_VehicleRespawn/server.cs (43): Unable to find object: '' attempting to call function 'getPosition'

Occurs when:
- Right click while skiing (, )
 - Walk around with skis
 - Creates a permanent invisible "block"
- Holding skis and left click while skiing ( ,
 - Player model stops and stays,
 - Invisible player keeps skiing (the screen follows)
 - Creates a permanent invisible "block"
- Crashing (works fine)
 - Creates a permanent invisible "block" ?

Possibly also behind these erros, and more:
 ERROR: getBL_IDfromObject() - "31274" (%obj1) is not an object
 ERROR: getBL_IDfromObject() - "61625" (%obj2) is not an object

I also suspect this to be the reason for my server's recent crashing.

I'm starting the server 6-7 hours from now, so I'd love it if you could fix it before that time.
« Last Edit: October 04, 2008, 05:23:31 AM by Jorgur »

If you could start your server, type "trace(1);" into the console, cause the ski glitch to happen, then post your console log here, that would really help.

The ski glitch is an add-on caused problem (and not by this add-on) so it'd be good to figure out which add-on is causing it. The invisible blocks are the leftover ski vehicles that don't get removed for some reason.

Ok.

Started trace, put on skis, and right-clicked.

Log: http://nopaste.org/p/acbUi4Tfp

I'm guessing that it can't find the Ski vehicle's spawn brick for the position error, and there is some conflict between the Skis onDriverLeave and the script's Vehicle::onDriverLeave for things not being deleted/the skis not coming off your feet.


Ok i've updated the link on the first page, my bad - didn't call the parent onDriverLeave. Very stupid.

Also changed respawn time to 2 minutes, and distance to 10.

I just have to say...

THANK YOU!

I was going to start the server in 10 minutes, and these two things were the only flaws.


Now, lets boot up the server. Tonight is the final night for Dogfight (at least for this time). I hope to see you there ;)

I also think this is because of the respawn script. (Ski fix did not prevent crashes)

http://forum.blockland.us/index.php?topic=46354.0