AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Code crashing the server, help again..... (https://forums.alliedmods.net/showthread.php?t=10799)

knekter 03-01-2005 08:27

Code crashing the server, help again.....
 
1 Attachment(s)
Whenever I enter the server, within 7 seconds it crashes. I have no idea why. Since the length of this plugin is immense, heres the file:

XunTric 03-01-2005 10:04

You used "//" in front of the damage event... could that be why?
btw i have a problem with my mod... the menu doesnt show up when somebody connect. and if i type "changeclass" it still dont show up... i have the handle_say thing...

twistedeuphoria 03-01-2005 10:35

Check your code for infinite loops, same thing happened to me after exactly 7 seconds too and my code had infinite loops.

knekter 03-01-2005 12:16

FIXED!
 
lol, I made such a dumb mistake, I was removing the ent in the wrong spot..... It was trying to remove all entitys on the server... Thanks Twisted for your help though! :)

XunTric 03-01-2005 12:21

Hey knekter... Ive done a lot in my script now. I got all classes, levels and xp and all stuff. Just not what the classes do. So you can choose class and get levels, but just not pick upgrades. Xeroblood helped me with making the menu. And i got "stock setclass" instead of "public setclass" now. It compiles, (with some warnings that i will fix later), just that the menu doesnt show up. And if i write changeclass, it still dont show up. I tryed to change "stock setclass", to "public setclass", but then i get 12 errors... Help me! :roll:

twistedeuphoria 03-01-2005 12:22

Haha, remove entity -> 0...oops there goes the world :) .

knekter 03-01-2005 12:45

Quote:

Originally Posted by XunTric
Hey knekter... Ive done a lot in my script now. I got all classes, levels and xp and all stuff. Just not what the classes do. So you can choose class and get levels, but just not pick upgrades. Xeroblood helped me with making the menu. And i got "stock setclass" instead of "public setclass" now. It compiles, (with some warnings that i will fix later), just that the menu doesnt show up. And if i write changeclass, it still dont show up. I tryed to change "stock setclass", to "public setclass", but then i get 12 errors... Help me! :roll:

Well I hope your not completely writing your code like mine lol, but you should be able to get the text working.... hmm Ill talk to you later, I gtg for a bit.

v3x 03-01-2005 13:35

Off topic:
Knetker, might wanna fix and repost your "Fix Client" plugin, or remove it from your sig :P.

XunTric 03-01-2005 15:23

Quote:

Originally Posted by knekter
Well I hope your not completely writing your code like mine

:stupid:


All times are GMT -4. The time now is 14:00.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.