AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   some errors after changing fm > engine (https://forums.alliedmods.net/showthread.php?t=99210)

diamond-optic 08-02-2009 17:03

some errors after changing fm > engine
 
well in light of all the profiling results of engine being slightly faster then fm in most cases, I decided to spend some of my free time changing some of my plugins over from using fakemeta to using engine instead

only problem is now ive been getting quite the increase in crashes (was usually once every few days or so.. to several times a day)

and i wouldnt consider myself a noob when it comes to writing plugins so its not like i didnt really know what i was doing (ive used fm and engine for years, just more often then not i mainly used fm) so im not really sure if its just caused by me screwing something up or what.. Ive gone back thru the plugins i changed, line by line, and cant find anything that looks wrong at all

been getting this (in some cases every 15minutes or so):
Quote:

./hlds_run: line 342: 31964 Segmentation fault $HL_CMD
which from what i gathered, there isnt really much to go on for narrowing the cause of that down...


but this is a new one i dont recall ever seeing up till now:
Quote:

FATAL ERROR (shutting down): Cache_TryAlloc: 3981024 is greater then free hunk
this one seems to happen after the server has been on the same map for a couple hours without changing... dont recall it ever happening before tho, even if the same map was played for 6+ hrs

any ideas? anything that i should be 'careful' about doing thru engine? not sure if maybe i should put the fm versions of these plugins back on and see if it goes back to normal

Arkshine 08-02-2009 17:31

Re: some errors after changing fm > engine
 
I don't think it's because of engine but more how you use it. Is it possible to see one your plugins fm/engine which you are sure it crashes ?

AntiBots 08-02-2009 17:36

Re: some errors after changing fm > engine
 
Cache_TryAlloc You have to update your server with HLDSUpdateTool.

Good Bye :D

diamond-optic 08-02-2009 18:32

Re: some errors after changing fm > engine
 
3 Attachment(s)
Quote:

Originally Posted by AntiBots (Post 888704)
Cache_TryAlloc You have to update your server with HLDSUpdateTool.

i havent seen anything about any hl1 engine updates over the past week or two since the last time i ran the update tool.. but ill give it a shot later tonight, cant really hurt to do it i guess


Quote:

Originally Posted by Arkshine (Post 888700)
I don't think it's because of engine but more how you use it. Is it possible to see one your plugins fm/engine which you are sure it crashes ?


sure, attached both versions of a plugin that when i switched back to the fm backup copy it stopped crashing every 15 minutes or so.. Not even a really complex plugin either... (the engine version still uses fakemeta for the get/set pdata natives)

and for the most part, the other plugins that i had changed over up till now werent any more complex then this one.. Just real basic, simple changes...

DA 08-03-2009 09:17

Re: some errors after changing fm > engine
 
I've noticed those errors too after I changed some things to engine...

Hawk552 08-26-2009 00:27

Re: some errors after changing fm > engine
 
Sorry to bump this, but I've noticed it too. I'm going to look into the engine code sometime and see if I can find any problems with it. In the mean time, I'm going to try FM.

Styles 08-26-2009 01:08

Re: some errors after changing fm > engine
 
Hawk, who made YOU king of the internet?

Hawk552 08-26-2009 01:43

Re: some errors after changing fm > engine
 
Quote:

Originally Posted by styles (Post 913216)
Hawk, who made YOU king of the internet?

what


All times are GMT -4. The time now is 18:26.

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