AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   stack error (https://forums.alliedmods.net/showthread.php?t=63325)

l4ulwtlln 11-18-2007 01:51

stack error
 
why does this cause a stack error?

PHP Code:

new stupiderrorgivingpos[6000// Lowering the number won't cause a stack error 


Wilson [29th ID] 11-18-2007 12:54

Re: stack error
 
I'd imagine 6000 is above the limit....what in the hell do you need 6000 rows for? Storing a bible?

Alka 11-18-2007 13:05

Re: stack error
 
Rofl 6000 , wtf ? History story ? <.<

l4ulwtlln 11-18-2007 13:44

Re: stack error
 
actually need around 5800. LOL. i was writing a motd with html and the html is using up a lot of characters. what is the limit anyways?

Alka 11-18-2007 14:16

Re: stack error
 
You'r right, you will make the motd but in Game motd the max chars are ~2000.

l4ulwtlln 11-18-2007 14:21

Re: stack error
 
ya i noticed cuz when i lowered it to about 4000, it stopped giving me a stack error and displays the motd but it always cuts it off around the same spot (around 2000+). so is there any way to extend it or will i just have to put up with the limit?

Alka 11-18-2007 14:28

Re: stack error
 
Quote:

Originally Posted by l4ulwtlln (Post 554351)
...will i just have to put up with the limit?

Yup. That's HL engine.

hackziner 11-18-2007 14:38

Re: stack error
 
Write the motd in a file and show the file in motd after...

l4ulwtlln 11-18-2007 14:42

Re: stack error
 
thats what i was doing before but if i do that then it's more annoying to edit the small details that i forget

Alka 11-18-2007 14:46

Re: stack error
 
Quote:

Originally Posted by hackziner (Post 554357)
Write the motd in a file and show the file in motd after...

Lol ?! Is the same thing, you only see ~2000 chars. :S no more.


All times are GMT -4. The time now is 01:16.

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