PabloP's gg loading issue

Ask questions and share info about GunGame 5

PabloP's gg loading issue

Postby PabloP » Sun Jul 25, 2010 6:48 pm

Ok, I am running on linux, i also HAD the problem where gungame wouldnt load when in autoexec. I tried to load it manually and i got this.
11:38:07 es_load gungame51
11:38:07 *** EventScripts caught an exception:
         Traceback (most recent call last):
           File "/servers/xxx/orangebox/cstrike/addons/eventscripts/es.py", line 406, in loadModuleAddon
             newaddon = __import__(importname)
           File "/servers/xxx/orangebox/cstrike/addons/eventscripts/gungame51/gungame51.py", line 33, in <module>
             from core.logs import make_log_file
           File "/servers/xxx/orangebox/cstrike/addons/eventscripts/gungame51/core/logs/__init__.py", line 26, in <module>
             from gungame51.core.addons.shortcuts import AddonInfo
           File "/servers/xxx/orangebox/cstrike/addons/eventscripts/gungame51/core/addons/__init__.py", line 22, in <module>
             from gungame51.core.events.shortcuts import EventManager
           File "/servers/xxx/orangebox/cstrike/addons/eventscripts/gungame51/core/events/__init__.py", line 17, in <module>
             from gungame51.core.weapons.shortcuts import get_total_levels
           File "/servers/xxx/orangebox/cstrike/addons/eventscripts/gungame51/core/weapons/__init__.py", line 461, in <module>
             load_weapon_orders()
           File "/servers/xxx/orangebox/cstrike/addons/eventscripts/gungame51/core/weapons/__init__.py", line 458, in load_weapon_orders
             for item in weaponOrderPath.files("*.txt"):
           File "/servers/xxx/orangebox/cstrike/addons/eventscripts/_engines/python/Lib/path.py", line 357, in files
             return [p for p in self.listdir(pattern) if p.isfile()]
           File "/servers/xxx/orangebox/cstrike/addons/eventscripts/_engines/python/Lib/path.py", line 328, in listdir
             names = os.listdir(self)
         OSError: [Errno 2] No such file or directory: '/servers/xxx/orangebox/cstrike/cfg/gungame51/weapon_orders'
         Could not open script for addons/eventscripts/gungame51/es_gungame51.txt
           Error source (console): (no script)


OK, so i was just looking through that and i saw "OSError: [Errno 2] No such file or directory: '/servers/xxx/orangebox/cstrike/cfg/gungame51/weapon_orders'"
So, i renamed my cstrike/cfg/~~gungame51 back to cstrike/cfg/gungame51 and restarted server.
Gungame started with already noticable improvement!! Because my random gun order worked!! Now, still the other addons set to be on were not working, but i tried
gg_elimination 0
gg_elimination 1
gg_turbo 0
gg_turbo 1
and about a round later turbo and elimination started to work!!!!!
So now i will proced to give you all information as stated here viewtopic.php?f=70&t=1389&p=6092
unless you want something else, stand by.
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Re: new gg not loaded

Postby PabloP » Sun Jul 25, 2010 7:33 pm

11:54:16 es_load
11:54:17 L 07/25/2010 - 12:53:55: ES-plugin-05: ParseCommand: token: es_load
11:54:17 L 07/25/2010 - 12:53:55: ES-plugin-05: ParseCommand: CurrentKey: round_start
11:54:17 L 07/25/2010 - 12:53:55: ES-plugin-05: ParseVar: Current Token: es_load
11:54:17 L 07/25/2010 - 12:53:55: ES-plugin-05: ParseVar: Done trying to expand variables.
11:54:17 L 07/25/2010 - 12:53:55: ES-plugin-05: ParseCommand: command: es_load
11:54:17 L 07/25/2010 - 12:53:55: ES-plugin-05: Command: ;
11:54:17 L 07/25/2010 - 12:53:55: ES-plugin-02: es_load...
11:54:17 L 07/25/2010 - 12:53:55:
11:54:17 [EventScripts] Loaded:
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/testlib
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/interfaces
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/linkedlist
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/repeat
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/score
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/xalias
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/textlib
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/playergetset
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/getbotname
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/damage
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/playervar
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/sqlitelib
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/statlog
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/quickcmd
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/queue
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/vecmath
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/services
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/foreach
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/average
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/keyfilter
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/uniqueid
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/timelib
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/keygroupsort
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/keygrouprand
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/keyrand
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/exp
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/isnumerical
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/escinject
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/getplayercount
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/usermsglib
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/inrange
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/entitylib
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/es_install
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/es_checkversion
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/es_mexec
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] corelib/clientcmd
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]   [ enabled] gungame51
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]       About&#058;
11:54:17 <TAB><TAB><TAB><TAB>GunGame 5.1 (v5.1.478)
         
         
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]     Authors:
11:54:17 <TAB><TAB><TAB><TAB>Michael Barr (XE_ManUp)
         <TAB><TAB><TAB><TAB>Luke Robinson (Monday)
         <TAB><TAB><TAB><TAB>Warren Alpert
         <TAB><TAB><TAB><TAB>Paul Smith (RideGuy)
         <TAB><TAB><TAB><TAB>Deniz Sezen (your-name-here)
         
         
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]     Website:
11:54:17 <TAB><TAB><TAB><TAB>http://www.gungame5.com/
         
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]    Included_Addons: None
11:54:17
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]    Custom_Addons: None
11:54:17
11:54:17 L 07/25/2010 - 12:53:55: [EventScripts]------------------------


So, youll see i turned on elimination and turbo with 0 1 after they werent working, many other addons were also on in the configs but not functioing though. Sorry for all the fluff with the bots, had some real people show up. Hope this actually helps. And, empty error log for gungame51. Though i did play one round on the next map, and elimination and turbo did stay on, so it seems i could run this gungame on my server I would just have to manually enable each addon every day and hope for no crashes.
Attachments
Log Files.rar
Logs Of One Complete Map
(753.74 KiB) Downloaded 612 times
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Postby satoon101 » Mon Jul 26, 2010 2:08 am

That error doesn't make any sense... Did you upload all the files? You definitely 'should' have a ../cfg/gungame51/weapon_orders/ folder. It's included in the download...

I split this off of the original thread you attempted to highjack. Please do not do this in the future. If you have relevant information, or the exact same issue, as in another thread, feel free to post there. If you have a completely unrelated issue, find one that actually pertains to your issue. If you cannot find one, please feel free to start your own thread.

Thanks,
Satoon
satoon101

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

Re: PabloP's gg loading issue

Postby PabloP » Mon Jul 26, 2010 3:58 am

I did have the exact same issue.
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Postby PabloP » Mon Jul 26, 2010 4:01 am

anyway ill just post my other posts on this issue.

PabloP wrote:
lastrider wrote:
Miezy wrote:
Miezy wrote:
lastrider wrote:I was getting the "Unable to connect to remote server (85.234.148.14:27035)." when trying to RCON.

I fixed this by using the stuffcmds workaround.

However now all the included addons are disabled. If I take stuffcmds out of the autoexec.cfg, the included addons load fine.

My autoexec is:
sv_allow_wait_command 1
stuffcmds
es_load gungame51

big thx man :P :P :P

work rcon,but don't work a lot of plugins. One of them deathmatch and winner screen when i add this comands.


Yes same, like I said, it fixes RCON but it does not load any addons.


This is the problem im having, no included addons (or custom addons actually) will load. stuffcmds is already in my valve.rc which i cant seem to edit, though i could most likely ask my server provider to if needed.

valve.rc
// load the base configuration
//exec default.cfg
r_decal_cullsize 1

// Setup custom controller
exec joystick.cfg

// run a user script file if present
exec autoexec.cfg

//
// stuff command line statements
//
stuffcmds

 


the allow wait thing is 1 on my server, though i tried putting it in my autoexec anyway.. i did all this with a fresh install with only the things in the post installed on my server, though i had the same problem with my normal setup. this is a linux server. There are no gungame error logs. please let me know any more information you desire. i get many complaints everyday of our crappy gungame.


PabloP wrote:
satoon101 wrote:You're not supposed to put stuffcmds in the valve.rc, you are supposed to add it to the very top of your autoexec.cfg. Your autoexec should start out the exact same as the code-block from the following post:
viewtopic.php?p=5970&f=69#p5970

Satoon

I tried that also same thing, shouldve mentioned.

Also i didnt put it there, it has always been there since i got my server. would still do the same thing anyway right? i mean im not having any issues with starting gungame or rcon access, just the addons.

Ill also mention that the post i quoted previously, the guy pinpointed stuffcmds as making his addons not work. This is same problem i had the night of the update, and made an upset post :[ . i was just a problem ahead since i already had stuffcmds. ya?

EDIT: anyway please tell me any info or test i can do to help you, i will have time tomorrow morning. and believe me ive read everything and tried everything thats posted on this forum. i hover these forums constantly since the update.. once again... i HATE SM GG
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Postby PabloP » Mon Jul 26, 2010 4:08 am

ill repeat again, If you have any ideas on this, please tell me any info or test i can do to help you.
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Postby satoon101 » Mon Jul 26, 2010 5:06 am

First, I'm fairly certain your issue is not the same as his. Your issue seems to me to be that the GG Included/Custom addons are not loading, whereas his is crashing on trying to load GG.

PabloP wrote:So, i renamed my cstrike/cfg/~~gungame51 back to cstrike/cfg/gungame51 and restarted server.
I'm not sure why that folder was named ~~gungame51 , but are any of the other folder/file names messed up? What exactly is your issue? I'm re-reading everything, and you are all over the map. I'm having a hard time discerning what your actual issue is. From what I'm reading, it's just that Included/Custom addons are not loading properly. Is that the only issue? Is that actually still an issue? What currently is the contents of your autoexec.cfg and server.cfg?

Satoon
satoon101

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

Re: PabloP's gg loading issue

Postby PabloP » Mon Jul 26, 2010 6:33 am

the ~~'s are so i can keep different copies of the same folder/file, like use the default config versus my real one. anyway my only problem now is still no addons loading.

autoexec.cfg
log 1
sv_consistency 0
sv_pure 0
mp_dynamicpricing 0
-es_load examples/auth/basic_auth
BASIC_AUTH_ADMIN_LIST "STEAM_ID_LAN;STEAM_0:0:5336401;"
map gg_deagle5_final
sv_max_usercmd_future_ticks 1



//es_load libfix
eventscripts_deadflag 0
//es_load xa
//es_load gungame51
//es_load victim_stats
//es_load comments
//es_load showdeadmsg

(im not using gg 5.1 obviously but i just delete the //'s wen im using autoexec.)
server.cfg
hostname "***************************************"

// CS Specific Cvars
mp_autokick 0
mp_autoteambalance 1
mp_c4timer 35
mp_flashlight 1
mp_footsteps 1
mp_freezetime 0
mp_friendlyfire 0
mp_hostagepenalty 0
mp_limitteams 1
mp_roundtime 1.5
mp_buytime .5
mp_timelimit 50
mp_maxrounds 0
mp_startmoney 0
mp_chattime 5
mp_allowspectator 1
sv_alltalk 1
sv_pure 0

// General HL Cvars
sv_contact "your@email.address"
decalfrequency 60
mp_decals 100
mp_falldamage 1
sv_cheats 0
sv_maxupdaterate 120
sv_minrate 20000
sv_timeout 60
sv_gravity 800
sv_allowupload 1
sv_allowdownload 1



// from skill1.cfg, game.cfg
sv_accelerate 5
sv_stopspeed 75
sv_rollangle 0

// Rcon Stuff
rcon_password "guess"

// Make sure the right people are banned
exec banned_user.cfg
writeid

//files
mapcyclefile mapcycle.txt

// disable lag compensation
//sv_unlag 1

heartbeat

// important settings inserted by NFo
sv_stats 0
sv_region 0
fps_max 0
net_queued_packet_thread 1
sv_password ""
log 1
tv_enable 0
sv_max_queries_sec 3
sv_max_queries_sec_global 150
sv_downloadurl "gungame5.com!"
net_maxfilesize 20
sv_minupdaterate 33
sv_mincmdrate 33
sv_maxcmdrate 100
sv_maxrate 35000

//Kigen's Anti-Cheat 1.2.0 Beta

//Version of KAC (not changable)
kac_version

//If the CVar detection engine is enabled or not.
kac_cvars_enable 1

//If the Eye Test detection routine is enabled or not.
kac_eyes_enable 0

//If the Command protection engine is enabled or not.
kac_cmds_enable 1

//Amount of commands in a second before the player gets kicked. (Set to 0 to disable)
kac_cmds_spam 18

//Team auto ballance
//- Force everyone to auto-assign when joining a team.
kac_client_balance 0

//Prevents clients from connecting to server with a cl_cmdrate that is masked or to low.
kac_addcvar cl_cmdrate greater kick 1

kac_removecvar mat_dxlevel


//RCON crash prevent
//Prevents a specific crash with RCON.
//Default is disabled because it will expose your server to brute force guess attempts.
//Make a strong password before enabling this.
kac_rcon_crashprevent 1


//Logs all command usage into separate files based on server instance.
//Useful for debugging if you think someone is crashing your server by a command.
kac_cmds_log 0

//Anti-Walling

//kac_eyes_antiwall - Enable/Disable antiwall.
//By default it is disabled. (Only works for CS:S.)
//kac_eyes_antiwall 1

//Super Logs
//superlogs_locations 0
//superlogs_ktraj 1

sm_advertisements_interval 17



//NEW STUFF
sv_allow_voice_from_file 0
sv_disablefreezecam 1
mp_forcecamera 0
sm_ggdm_elimination 1
sm_ggdm_sptime 0


sv_parallel_packentities 0
sv_parallel_sendsnapshot 0
net_splitpacket_maxrate 100000

sm_bleeding_health 0
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Postby XE_ManUp » Mon Jul 26, 2010 6:51 am

PabloP, still awake?
XE_ManUp

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

Re: PabloP's gg loading issue

Postby PabloP » Mon Jul 26, 2010 2:16 pm

Ill also just mention i also will do most these test with only eventscripts, spe and gg5.1 installed.
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Postby daggerclan » Mon Jul 26, 2010 3:43 pm

I see two issues that may be giving you trouble.

1 - Your server.cfg file is loading sourcemod's gungame deathmatch elimination. I'm not sure what effect that might have on GunGame5.1 loading properly.

2 - Second, but most importantly, it is not a good idea to keep different copies of the same folders/files or renaming them so you can switch between default configs and customized configs. As XE_ManUp stated in another thread "Actually, GunGame5.1 is dynamic to the point of being painful. What happens is that when GunGame is loaded, it loops through ALL directories in both the included and custom addon folders. It then searches for the addon_name_config.py to execute - which controls the creation and loading of the configs. It also searches for translations to load as well".
My suggestion would be to move your "renamed" folders to somewhere totally outside of the cstike folder structure.
daggerclan

Corporal
Corporal
User avatar
 
Posts: 250
Joined: Mon Jul 13, 2009 7:54 pm
Location: United States

Re: PabloP's gg loading issue

Postby XE_ManUp » Mon Jul 26, 2010 4:09 pm

To clarify on #2:

It "walks" the directories:

../cstrike/addons/eventscripts/gungame51/scripts/included
../cstrike/addons/eventscripts/gungame51/scripts/custom


Anything outside of those won't matter.
XE_ManUp

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

Re: PabloP's gg loading issue

Postby PabloP » Mon Jul 26, 2010 10:31 pm

double post so ill just say here i should be on most of tonight if you've any ideas
Last edited by PabloP on Mon Jul 26, 2010 10:45 pm, edited 2 times in total.
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Re:

Postby PabloP » Mon Jul 26, 2010 10:33 pm

daggerclan wrote:I see two issues that may be giving you trouble.

1 - Your server.cfg file is loading sourcemod's gungame deathmatch elimination. I'm not sure what effect that might have on GunGame5.1 loading properly.

2 - Second, but most importantly, it is not a good idea to keep different copies of the same folders/files or renaming them so you can switch between default configs and customized configs. As XE_ManUp stated in another thread "Actually, GunGame5.1 is dynamic to the point of being painful. What happens is that when GunGame is loaded, it loops through ALL directories in both the included and custom addon folders. It then searches for the addon_name_config.py to execute - which controls the creation and loading of the configs. It also searches for translations to load as well".
My suggestion would be to move your "renamed" folders to somewhere totally outside of the cstike folder structure.


Yeah im loading sm gg because i cant get this one to work..

and its just in my cfg folder, lol i hope gungame doesnt search random folders.
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Postby PabloP » Tue Jul 27, 2010 2:54 am

YAY! :]
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 46 guests