Raised This Month: $ Target: $400
 0% 

Server Crashing ERROR MSG_ONE


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
purple nurple
Senior Member
Join Date: Jun 2007
Location: US Missouri
Old 09-18-2007 , 22:28   Server Crashing ERROR MSG_ONE
Reply With Quote #1

I have a 32 slot server and i made my own zombie mod for it but each time it gets full it crashes and i get this error.

MSG_ONE or MSG_UNRELIABLE with or target entity

does anyone know what this means?
purple nurple is offline
AlMod
Member
Join Date: Nov 2006
Old 09-18-2007 , 23:04   Re: Server Crashing ERROR MSG_ONE
Reply With Quote #2

Maybe it going message owerflow?
AlMod is offline
mogel
Senior Member
Join Date: Jan 2007
Old 09-19-2007 , 06:43   Re: Server Crashing ERROR MSG_ONE
Reply With Quote #3

Hi,

post ur code ... than we can look around

hand, mogel
__________________
mogel is offline
purple nurple
Senior Member
Join Date: Jun 2007
Location: US Missouri
Old 09-20-2007 , 00:23   Re: Server Crashing ERROR MSG_ONE
Reply With Quote #4

Here you go.


Edit: Plugin Removed.

Last edited by purple nurple; 09-22-2007 at 15:55.
purple nurple is offline
Old 09-20-2007, 23:52
kp_uparrow
This message has been deleted by kp_uparrow.
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 09-21-2007 , 11:48   Re: Server Crashing ERROR MSG_ONE
Reply With Quote #5

This is your problem inside function: client_PreThink(id)
Code:
message_begin(MSG_ONE, SVC_TEMPENTITY, {0,0,0}, id) write_byte(TE_DLIGHT) write_coord(pos[0]) write_coord(pos[1]) write_coord(pos[2]) write_byte(80) write_byte(200) write_byte(200) write_byte(200) write_byte(5) write_byte(10) message_end()
This function is called very frequently not as frequent as ServerFrame, but still it's dangerous to create constant messages inside of this type of function.

The 2nd to last byte is how long this message will last in 10's.

Also when creating messages it's best to use an unreliable type, in this case MSG_ONE_UNRELIABLE to stop client overflow problems. Obviously there is cases where you need to make sure the message is reliable.
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd
Orangutanz is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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