Forum

> > CS2D > Scripts > Maybe a script bug?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Maybe a script bug?

4 replies
To the start Previous 1 Next To the start

old Maybe a script bug?

Xirot
User Off Offline

Quote
I'm not really into scripting but I had a problem with a script that works totally fine on a local host (new game) and it isn't working as well when I start it with a VPS.
So maybe it's a script bug or I don't know.
> The console is pretty fine and got no errors √

old Re: Maybe a script bug?

Gaios
Reviewer Off Offline

Quote
Probably you're saying about images.. only images don't load properly on join hook. Otherwise we don't have enought info from you m8.

old Re: Maybe a script bug?

Nekomata
User Off Offline

Quote
Here's a pretty simple troubleshoot guide I've used before.

1. Don't put it in autorun. Link it via server.lua.*
2. Check the console for errors.
3. If errors, report here else check if the hooks in the script are being called
4. If the hooks are being called, you have multiple hooks clashing else you have the wrong file encoding set for the lua script.
5. Change file encoding: http://www.unrealsoftware.de/forum_posts.php?post=374427
6. You're doing something very stupid.

Autorun does not tell you the errors. In fact it does not execute the script if there's an error anywhere.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview