SRCDS Steam group


Server Crashes (I know why, but need info)
#1
Rolleyes 
Hi there, I'm new to this forum, so please don't be too rude if I don't tell you any information that is needed.

Okay, here's my problem: I installed SRCDS through HLDS UpdateTool by Valve. When it was installed, I downloaded EventScripts from http://mattie.net/cs/ and extracted (not everything) into /cstrike. Only files and folders I extracted:
Quote:Folders and all of its contents:
addons
addons/eventscripts
addons/eventscripts/_autoload
addons/eventscripts/_engines
addons/eventscripts/_libs
addons/eventscripts/_test

Files:
addons/mattie_eventscripts.dll
addons/mattie_eventscripts.res
addons/mattie_eventscripts.vdf
addons/eventscripts/license.txt

I tried to rewrite es.py myself so it fits my needs (what causes the problem):
Code:
# ------------------
# Core ES-Module: es.py
# Documentation:  http://python.eventscripts.com/pages/Es
# Version:        2.0.0.250b
# ------------------

# --------
# Main Imports
# --------
from es_C import *
from psyco import full as pFull
pFull()

# --------
# Module Imports
# --------
from os import sep
from os.path import exists as pathExists
from traceback import format_exception

import sys, langlib

# --------
# Main Code
# --------
def excepter(_type, _val, _trac):
    for x in format_exception(_type, _val, _trac):
        dbgmsg(0, x)
sys.excepthook = excepter

def output(_str):
    print _str

def getGameName():
    return getString('eventscripts_gamedir').rsplit(sep, 1)[~0]

def getAddonPath(addon):
    return getString('eventscripts_addondir') + '/' + addon

class local_language:
    def get(self):
        return langlib.getLangAbbreviation(getString('eventscripts_language'))
    def load(self):
        langlib.loadLanguages(getString('eventscripts_addondir') + '/_libs/python/deflangs.ini')
    def set(self):
        langlib.setDefaultLangCallback(self.get)
local_language.set()

class Var:
    def command(self, _cmd):
        ServerCommand(_cmd)
    def flags(self, _cmd, name, var):
        flags(_cmd, name, var)
ServerVars = Var()

class ServerVariables:
    def __init__(self, var):
        self.var = var
    def __str__(self):
        return getString(self.var)
    def __int__(self):
        return getInt(self.var)
    def __float__(self):
        return getFloat(self.var)
    def __nonzero__(self):
        return bool(getFloat(self.var))
    def getName(self):
        return self.var
    def __setitem__(self, val):
        if (type(val) == int):
            setInt(self.var, val)
        elif (type(val) == str):
            setString(self.var, val)
        elif (type(val) == float):
            setFloat(self.var, val)
ServerVar = ServerVariables()

class SourceEventVariables:
    def __getitem__(self, var):
        return getEventInfo(var)
event_var = SourceEventVariables()

class AddonInfo(dict):
    def __init__(self, s):
        super(AddonInfo, self).__init__(self)
        self.keys = ['name', 'version', 'url']
        self.name = 'Unknown Addon'
        self.version = '0.0'
        self.url = 'http://IDontKnowYou.com/n00b'
        self.s = s
    def __getattr__(self):
        return self[self.s]
    def __setattr__(self, val):
        if self.s != 'keylist' and self.s not in self.keylist:
            self.keys.append(self.s)
        self[self.s] = val
        
dbgmsg(0, 'es.py loaded.')
Just wanted to test it, tho. Didn't work, I redownloaded the zip from mattie.net and extracted addons/eventscripts/corelib and hoped this would work, but didn't. Server created a .mdmp-file which contains:
Quote:Loading Dump File [D:\Server\Steam__570557__2009_7_12T17_37_36C375.mdmp]
User Mini Dump File: Only registers, stack and portions of memory are available

Comment: ''
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
Windows Server 2003 Version 3790 (Service Pack 2) MP (2 procs) Free x86 compatible
Product: Server, suite: Enterprise TerminalServer
Machine Name:
Debug session time: Sun Jul 12 19:37:36.000 2009 (GMT+2)
System Uptime: not available
Process Uptime: not available
....................................................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(7a0.a64): Access violation - code c0000005 (first/second chance not available)
eax=00000000 ebx=002eb010 ecx=11121000 edx=1e1daad8 esi=002eafe8 edi=002eb040
eip=7d61d6c6 esp=002c6ec8 ebp=002c6ed4 iopl=0 nv up ei pl zr na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
Unable to load image C:\WINDOWS\system32\ntdll.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for ntdll.dll
*** ERROR: Module load completed but symbols could not be loaded for ntdll.dll
ntdll+0x1d6c6:
7d61d6c6 c20800 ret 8

Can you help me? =)
Reply
#2
You might be better of asking at http://www.mattie.info/cs/forums.
Reply
#3
The last few lines of the dump says something about an ntdll.dll file - perhaps your problem lies there?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)