Could not open script for addons/eventscripts/gungame/es_gun

Having problems with GunGame5 (NOT FOR BUGS)? Ask here!

Could not open script for addons/eventscripts/gungame/es_gun

Postby ichirowong » Tue Nov 25, 2008 11:26 pm

I have installed EventScripts (version 250... as suggested in another post involving this same issue). ES_tools is also installed.

When I start the server I see both EventScripts and ES_tools start up but when it tries to load gungame it gets the
"Could not open script for addons/eventscripts/gungame/es_gungame.txt"


I have not the foggiest clue what is wrong here. It was said that the es_gungame.txt is not actually required to be there... but that I must have the latest version of EventScripts.

Please... oh please... help a confused noob.
ichirowong

Recruit
Recruit
 
Posts: 4
Joined: Tue Nov 25, 2008 11:18 pm
Steam Friends Name: shinjian@hotmail.com

Re: Could not open script for addons/eventscripts/gungame/es_gun

Postby XE_ManUp » Tue Nov 25, 2008 11:35 pm

ichirowong wrote:I have installed EventScripts (version 250... as suggested in another post involving this same issue). ES_tools is also installed.

When I start the server I see both EventScripts and ES_tools start up but when it tries to load gungame it gets the
"Could not open script for addons/eventscripts/gungame/es_gungame.txt"


I have not the foggiest clue what is wrong here. It was said that the es_gungame.txt is not actually required to be there... but that I must have the latest version of EventScripts.

Please... oh please... help a confused noob.

viewtopic.php?f=19&t=10

Check that out and see if it helps.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Postby Warren » Wed Nov 26, 2008 12:51 am

This has been confirmed that it is due to running an old version of EventScripts.

ichirowong is trying to install EventScripts 2.0.0.250 via a control panel, and unable to delete folders or overwrite files.

Once ichirowong talks to the server owner this should be all fixed.
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Postby ichirowong » Wed Nov 26, 2008 6:20 am

I have installed the latest EventScripts and now GunGame loads fine.

However, once it has finished loading and things are about to get going it gives me this

./srcds_run: line 344: 12684 Segmentation fault(core dumped) $HL_CMD

I'm very sure that all versions of ES_Tools, GunGame5, and EventScripts are installed.
ichirowong

Recruit
Recruit
 
Posts: 4
Joined: Tue Nov 25, 2008 11:18 pm
Steam Friends Name: shinjian@hotmail.com

Re: Could not open script for addons/eventscripts/gungame/es_gun

Postby ADMachine » Mon Apr 26, 2010 10:31 pm

I am also having trouble loading gungame and I currently have Gungame 5.1.427; Mattie Event Scripts 2.0.0.252; Source Python Extensions 1.5.0f r76; and Sourcemod. Getting this message:

SyntaxError: invalid syntax
Could not open script for addons/eventscripts/gungame51/es_gungame51.txt
Error source (console): (no script)

Also ran plugin_print with this result:

] rcon plugin_print
Loaded plugins:
---------------------
0: "Mattie's EventScripts, http://mattie.info/cs, Version:2.0.0.252"
1: "Metamod:Source Interface 1.8.0"
2: "Source Python Extensions, 2009 - 2010, your-name-here"
---------------------

I am leasing the server from Counter-Strike.com so I've had to upload all these files 1by1 and I have double checked to make sure that they are all there. I am also wondering why the console is referring to a "es_gungame51.txt" when the closest thing that is provided is a gungame51.py???

ANY HELP WITH THIS WOULD BE GREATLY APPRECIATED!!!
ADMachine

Private
Private
 
Posts: 6
Joined: Mon Apr 26, 2010 10:19 pm
Steam Friends Name: ^1|^0ATK^1|^0ADMachine

Postby satoon101 » Mon Apr 26, 2010 10:41 pm

Please let us know what it says before SyntaxError: invalid syntax . There should definitely be more to that error, so let us know the entire Traceback.

The reason it refers to es_gungame.txt is because EventScripts first tries to load a Python file. If none is found, or there is an error while trying to load the Python file, it then checks to see if there is a text file that can be loaded.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Re: Could not open script for addons/eventscripts/gungame/es_gun

Postby ADMachine » Mon Apr 26, 2010 11:35 pm

] rcon es_load gungame51
autokick is disabled for |Â.†.Ķ.|Machine*|ČĶ|*
Traceback (most recent call last):
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\es.py", line 339, in loadModuleAddon
newaddon = __import__(importname)
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\gungame51.py", line 35, in <module>
from core.cfg.shortcuts import loadConfig
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\core\cfg\__init__.py", line 22, in <module>
from gungame51.core.addons import get_valid_addons
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\core\addons\__init__.py", line 744, in <module>
from gungame51.core.players.shortcuts import Player
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\core\players\__init__.py", line 40, in <module>
from gungame51.core.sql import Database
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\core\sql\__init__.py", line 13, in <module>
from sqlite3 import connect
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\_engines\python\lib\sqlite3\__init__.py", line 24, in <module>
from dbapi2 import *
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\_engines\python\lib\sqlite3\dbapi2.py", line 90
-----------------------------7da26192f20440--
^
SyntaxError: invalid syntax
Could not open script for addons/eventscripts/gungame51/es_gungame51.txt
Error source (console): (no script)
ADMachine

Private
Private
 
Posts: 6
Joined: Mon Apr 26, 2010 10:19 pm
Steam Friends Name: ^1|^0ATK^1|^0ADMachine

Postby satoon101 » Mon Apr 26, 2010 11:50 pm

Ok, interesting. Could you open your servers ..cstrike/addons/eventscripts/_engines/python/lib/sqlite3/dbapi2.py file and paste everything after:
del(register_adapters_and_converters)

There really shouldn't be anything there, but it seems that there is on your server.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Re: Could not open script for addons/eventscripts/gungame/es_gun

Postby ADMachine » Tue Apr 27, 2010 8:12 am

Just this one line-

-----------------------------7da26192f20440--
ADMachine

Private
Private
 
Posts: 6
Joined: Mon Apr 26, 2010 10:19 pm
Steam Friends Name: ^1|^0ATK^1|^0ADMachine

Re: Could not open script for addons/eventscripts/gungame/es_gun

Postby ADMachine » Tue Apr 27, 2010 11:15 am

Ok well I guess it must have been something server side because its loading gungame now but now I'm having an issue where not all my cfg files are being generated! I get about 10 but I'm not getting gg_turbo or warmup round and quite a few others are missing. I'm coming from GG5 so this is all a little new to me. Also when I get a knife kill it doesn't end the game for some reason. It shows me being on the last level but just starts a new round after I get the final knife kill.
ADMachine

Private
Private
 
Posts: 6
Joined: Mon Apr 26, 2010 10:19 pm
Steam Friends Name: ^1|^0ATK^1|^0ADMachine

Re: Could not open script for addons/eventscripts/gungame/es_gun

Postby ADMachine » Tue Apr 27, 2010 1:21 pm

This is what I get when I unload and then load gungame -


] rcon es_unload gungame51
autokick is disabled for |Â.†.Ķ.|Machine*|ČĶ|*
Unloading gungame51...
Unloaded: gg_deathmatch
es_event: Event gg_addon_unloaded not registered or no listeners.
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
ERROR: Event lost.
Unloaded: gg_map_obj
es_event: Event gg_addon_unloaded not registered or no listeners.
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
ERROR: Event lost.
Unloaded: gg_dead_strip
es_event: Event gg_addon_unloaded not registered or no listeners.
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
ERROR: Event lost.
Unloaded: gg_dissolver
es_event: Event gg_addon_unloaded not registered or no listeners.
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
ERROR: Event lost.
Unloaded: gg_earn_nade
es_event: Event gg_addon_unloaded not registered or no listeners.
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
ERROR: Event lost.
Unloaded: gg_error_logging
es_event: Event gg_addon_unloaded not registered or no listeners.
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
ERROR: Event lost.
Unloaded: gg_knife_pro
es_event: Event gg_addon_unloaded not registered or no listeners.
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
ERROR: Event lost.


# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 276, in callBlock
self.Blocks[blockname]()
File "../eventscripts/gungame51/gungame51.py", line 205, in unload
unloadConfig(get_config_list())
File "../eventscripts/gungame51/core/cfg/shortcuts.py", line 28, in unloadConfig
ConfigManager().unload(config)
File "../eventscripts/gungame51/core/cfg/__init__.py", line 97, in unload
config = self.get_config_by_name(name)
File "../eventscripts/gungame51/core/cfg/__init__.py", line 144, in get_config_by_name
'.%s.%s.%s' %(cfgType, addon, name), globals(), locals(), [''])
File "../eventscripts/gungame51/scripts/included/gg_leaderweapon_warning/gg_leaderweapon_warning_config.py", line 1
Content-Type: application/octet-stream
^

SyntaxError: invalid syntax

# ================================================


[EventScripts] Unloading gungame51...
[EventScripts] gungame51 has been unloaded
The New Girl killed *|CK|* Frank with glock.
The New Girl killed |Â.†.Ķ.|Machine*|ČĶ|* with knife.
Player: |Â.†.Ķ.|Machine*|ČĶ|* - Damage Taken
-------------------------
Damage Taken from "The New Girl" - 110 in 1 hit
The New Girl killed *|CK|* Frank with knife.
] rcon es_load gungame51
--------------------------------------------------------
sv_pure value unchanged (current value is 0).
--------------------------------------------------------
exec banned_ip.cfg: file size larger than 20MB.
exec banned_user.cfg: file size larger than 20MB.
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
Loading CS:Source Bot Configuration Settings...
gg_afk_settings.cfg
gg_default_addons.cfg
gg_en_config.cfg
gg_objectives_settings.cfg
gg_punishment_settings.cfg
gg_convert.cfg
gg_dead_strip.cfg
gg_deathmatch.cfg
gg_dissolver.cfg
gg_earn_nade.cfg
gg_elimination.cfg
gg_error_logging.cfg
gg_friendlyfire.cfg
gg_handicap.cfg
gg_knife_elite.cfg
gg_knife_pro.cfg
[GunGame] ===============================================================================
Traceback (most recent call last):
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\gungame51.py", line 141, in load
initialize()
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\gungame51.py", line 215, in initialize
loadConfig(get_config_list())
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\core\cfg\shortcuts.py", line 21, in loadConfig
ConfigManager().load(config)
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\core\cfg\__init__.py", line 66, in load
config = self.get_config_by_name(name)
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\core\cfg\__init__.py", line 144, in get_config_by_name
'.%s.%s.%s' %(cfgType, addon, name), globals(), locals(), [''])
File "C:\Games\DAVEE\GameServers\TC12130032866087240623404\cstrike\addons\eventscripts\gungame51\scripts\included\gg_leaderweapon_warning\gg_leaderweapon_warning_config.py", line 1
Content-Type: application/octet-stream
^
SyntaxError: invalid syntax
[GunGame] ===============================================================================
Unloading gungame...
[EventScripts] Loaded gungame51
[EventScripts] Unloading gungame...
[EventScripts] gungame was not loaded
es_event: Event gg_leader_lostlevel not registered or no listeners.
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
No valid command situation for es_event! 5, 0x0
ERROR: Event lost.
Weapon Order Changed! Restarting in 2 seconds!
The game will restart in 2 SECONDS
ADMachine

Private
Private
 
Posts: 6
Joined: Mon Apr 26, 2010 10:19 pm
Steam Friends Name: ^1|^0ATK^1|^0ADMachine

Postby satoon101 » Tue Apr 27, 2010 2:13 pm

How bizarre... Not sure why things are being added to your files like that. Try re-downloading the newest GunGame, then re-upload it to your server. You 'might' want to just delete the entire ..addons/eventscripts/gungame51/ folder from your server first.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Re: Could not open script for addons/eventscripts/gungame/es_gun

Postby ADMachine » Tue Apr 27, 2010 2:21 pm

Do you think it may be that I still have the other folders from gungame5 still in there?
ADMachine

Private
Private
 
Posts: 6
Joined: Mon Apr 26, 2010 10:19 pm
Steam Friends Name: ^1|^0ATK^1|^0ADMachine

Postby satoon101 » Tue Apr 27, 2010 2:27 pm

I wouldn't think so, since they are in a completely different folder. But, since you don't 'need' them, you might as well remove them.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm



Return to Troubleshooting (NOT FOR BUGS)

Who is online

Users browsing this forum: No registered users and 14 guests