Custom Addons

Ask questions and share info about GunGame 5

Custom Addons

Postby GirlieBalls » Fri Dec 23, 2011 3:12 pm

It seems that with this latest version of gungame I am having a problem with gungame not loading and of the included configs right when I have my Buylevel and Winner Display loaded. I loaded it without them and everything works just fine, but as soon as I add them everything shuts off, turbo, dm, noblock and so on. I just did a reinstall of the server and reuploaded everything fresh with the newest version of everything I could find. As soon as I loaded the custom addons nothing is loading now but gungame still works itself. I added the 2 custom addons in zip files here and am willing to give access to the server if that is needed. Server IP is 206.217.129.140:27015 and password is test.

es_load in console

[EventScripts] Loaded:
[EventScripts]   [ enabled] corelib
[EventScripts]   [ enabled] corelib/testlib
[EventScripts]   [ enabled] corelib/interfaces
[EventScripts]   [ enabled] corelib/linkedlist
[EventScripts]   [ enabled] corelib/repeat
[EventScripts]   [ enabled] corelib/score
[EventScripts]   [ enabled] corelib/xalias
[EventScripts]   [ enabled] corelib/textlib
[EventScripts]   [ enabled] corelib/playergetset
[EventScripts]   [ enabled] corelib/getbotname
[EventScripts]   [ enabled] corelib/damage
[EventScripts]   [ enabled] corelib/playervar
[EventScripts]   [ enabled] corelib/sqlitelib
[EventScripts]   [ enabled] corelib/statlog
[EventScripts]   [ enabled] corelib/quickcmd
[EventScripts]   [ enabled] corelib/queue
[EventScripts]   [ enabled] corelib/vecmath
[EventScripts]   [ enabled] syphon
[EventScripts]   [ enabled] corelib/services
[EventScripts]   [ enabled] corelib/foreach
[EventScripts]   [ enabled] corelib/average
[EventScripts]   [ enabled] corelib/keyfilter
[EventScripts]   [ enabled] corelib/uniqueid
[EventScripts]   [ enabled] corelib/timelib
[EventScripts]   [ enabled] corelib/keygroupsort
[EventScripts]   [ enabled] corelib/keygrouprand
[EventScripts]   [ enabled] corelib/keyrand
[EventScripts]   [ enabled] corelib/exp
[EventScripts]   [ enabled] corelib/isnumerical
[EventScripts]   [ enabled] corelib/escinject
[EventScripts]   [ enabled] corelib/getplayercount
[EventScripts]   [ enabled] corelib/usermsglib
[EventScripts]   [ enabled] corelib/inrange
[EventScripts]   [ enabled] corelib/entitylib
[EventScripts]   [ enabled] corelib/es_install
[EventScripts]   [ enabled] corelib/es_checkversion
[EventScripts]   [ enabled] corelib/es_mexec
[EventScripts]   [ enabled] corelib/clientcmd
[EventScripts]   [ enabled] examples/auth/ini_tree_auth
[EventScripts]   [ enabled] gungame51
[EventScripts]       About:
                GunGame 5.1 (v5.1.600)


[EventScripts]     Authors:
                Michael Barr (XE_ManUp)
                Luke Robinson (Monday)
                Warren Alpert
                Paul Smith (RideGuy)
                Deniz Sezen (your-name-here)
                Stephen Toon (satoon101)


[EventScripts]     Website:
                http://forums.gungame.net/

[EventScripts]    Included Addons: None

[EventScripts]    Custom Addons: None

[EventScripts]------------------------
 
Attachments
addons.zip
(9.85 KiB) Downloaded 580 times
GirlieBalls

Private
Private
 
Posts: 26
Joined: Thu Jul 09, 2009 8:40 pm
Steam Friends Name: piromaniak10

Postby satoon101 » Sat Dec 24, 2011 2:29 am

Are there any errors in the server's console? If any addon encounters an error when it tries to load, all other addons in the queue will not load either.

Satoon
satoon101

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

Postby satoon101 » Sat Dec 24, 2011 2:40 am

Actually, just tested it myself, and it seems that you are running an edited version of gg_buylevel. The version in your zip file requires you to have an Authorization Service be set up on your server. That is the error I receive, because on my test server, I do not have an Auth Service loaded. Because I don't, the script errors out, and the remaining custom/included addons are not loaded.

Satoon
satoon101

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

Postby GirlieBalls » Sat Dec 24, 2011 4:22 am

Yeah I have it setup that way, I think you actually helped me with that back sometime. I just checked it and its in there I can upload that file also if you would like.
GirlieBalls

Private
Private
 
Posts: 26
Joined: Thu Jul 09, 2009 8:40 pm
Steam Friends Name: piromaniak10

Postby satoon101 » Sat Dec 24, 2011 5:28 am

Is there any other error that you receive, then? That is really the only explanation as to why no addons are loaded. We just need to find and fix the error.

Satoon
satoon101

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

Postby GirlieBalls » Sat Dec 24, 2011 3:23 pm

I havent seen any errors but Im not exactly sure where to look in specific.

I got these from the logs

Traceback (most recent call last):
  File "../eventscripts/es.py", line 272, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "../eventscripts/gungame51/core/addons/events.py", line 128, in _call_event
    callback['callback'](event_var)
  File "../eventscripts/gungame51/gungame51.py", line 292, in player_spawn
    if getPlayer(userid).isdead:
  File "../eventscripts/_libs/python/playerlib.py", line 1310, in getPlayer
    raise e

UseridError: '2' is an invalid userid




Traceback (most recent call last):
  File "../eventscripts/es.py", line 272, in triggerEvent
    self.EventListeners[eventname][listener](event_var)
  File "../eventscripts/gungame51/core/addons/events.py", line 128, in _call_event
    callback['callback'](event_var)
  File "../eventscripts/gungame51/gungame51.py", line 292, in player_spawn
    if getPlayer(userid).isdead:
  File "../eventscripts/_libs/python/playerlib.py", line 1310, in getPlayer
    raise e

UseridError: '2' is an invalid userid


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     LAST EVENT: [12/23/2011 @ 14:36:40]          TOTAL OCCURENCES: [0001]    
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Traceback (most recent call last):
  File "../eventscripts/es.py", line 279, in tick
    x()
  File "../eventscripts/_libs/python/gamethread.py", line 173, in tick
    _executenode(first)
  File "../eventscripts/_libs/python/gamethread.py", line 155, in _executenode
    function(*a, **kw)
  File "../eventscripts/gungame51/core/addons/queue.py", line 87, in _loop_through_queue
    self._load_addons()
  File "../eventscripts/gungame51/core/addons/queue.py", line 111, in _load_addons
    self._add_addon_instance(addon)
  File "../eventscripts/gungame51/core/addons/queue.py", line 194, in _add_addon_instance
    self._add_addon_instance(required_addon)
  File "../eventscripts/gungame51/core/addons/queue.py", line 188, in _add_addon_instance
    self._current_instances[addon] = AddonInstances[addon]
  File "../eventscripts/gungame51/core/addons/instance.py", line 34, in __getitem__
    value = self[addon] = _AddonInstance(addon)
  File "../eventscripts/gungame51/core/addons/instance.py", line 60, in __init__
    instance = __import__(self.module, globals(), locals(), [''])
  File "../eventscripts/gungame51/scripts/included/gg_dead_strip/gg_dead_strip.py", line 27, in <module>
    from ..gg_warmup_round.gg_warmup_round import get_warmup_weapon
  File "../eventscripts/gungame51/scripts/included/gg_warmup_round/gg_warmup_round.py", line 426
    ggPlayer = Player(userid)
   ^

IndentationError: unexpected indent



I looked at line 428 in notepad++ and it was an empty line for me
GirlieBalls

Private
Private
 
Posts: 26
Joined: Thu Jul 09, 2009 8:40 pm
Steam Friends Name: piromaniak10

Postby satoon101 » Sat Dec 24, 2011 5:07 pm

I'm guessing that the gg_warmup_round error is from an old log, though I am confused as to why it would have that "unexpected indent" error at all.

The error we would need would probably happen too early to be in the GunGame logs. Do you have direct access to the server's console, but are not using the -console parameter? The error should happen during the loading of GunGame, which will not show if you do not use the -console parameter.

Either add in -console and paste the output of GunGame loading here or install ExceptHook and make sure it is loaded "prior" to GunGame. If you use ExceptHook, just follow its instructions once you have started the server to get the error we would need.

Satoon
satoon101

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

Postby GirlieBalls » Sat Dec 24, 2011 5:58 pm

If you mean by the command line I dont have access to change it since it is a rented server and I cant add anything like that. I will try the other way in a bit since I am on my way out right now and post back with the results of that.

EDIT= Just ran it quickly before I ran out and Im not getting anything where it tells me there should be. Tehre is not exceptions.txt in the folder

I ran the autoexec like this
es_load examples/auth/ini_tree_auth
sv_allow_wait_command 1
stuffcmds
es_load excepthook
es_load gungame51
es_load syphon

And this
es_load excepthook
es_load examples/auth/ini_tree_auth
sv_allow_wait_command 1
stuffcmds
es_load gungame51
es_load syphon
GirlieBalls

Private
Private
 
Posts: 26
Joined: Thu Jul 09, 2009 8:40 pm
Steam Friends Name: piromaniak10

Postby satoon101 » Sat Dec 24, 2011 7:11 pm

Just saw your edit. Very strange, there "has" to be an error if no addons are being loaded. You do still have gg_buylevel and gg_winner_display installed on the server for these tests, correct?

Satoon
satoon101

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

Postby GirlieBalls » Sat Dec 24, 2011 9:23 pm

I will check it now, but funny thing is I tried to remove the custom addons with the configs and it still wouldnt load right. I think it might be that warmup round thing, I did add to that one also the same time I added the buylevel. My warmup rounds set everyones HP to 1

EDIT= I uploaded them again and still no exceptions.txt
GirlieBalls

Private
Private
 
Posts: 26
Joined: Thu Jul 09, 2009 8:40 pm
Steam Friends Name: piromaniak10

Postby GirlieBalls » Tue Dec 27, 2011 1:27 am

I reinstalled the server and reuploaded everything fresh and got new configs for everything and set it up how it was before. Its still running gungame but dm and turbo still dont work, but not I got the custom addons to actually come up and they are working. Tried the excepthook again and still nothing coming up in the folder. I know you had told me that I should use a couple commands in console over on the eventscripts forums when I was trying to get the 1 hp spawn for the warmup round. Will this help in this situation also

rcon log on
rcon eventscripts_debuglog 1
rcon es_load gungame51
rcon log off
GirlieBalls

Private
Private
 
Posts: 26
Joined: Thu Jul 09, 2009 8:40 pm
Steam Friends Name: piromaniak10

Postby satoon101 » Tue Dec 27, 2011 2:02 am

Yes, that would help. You might even try to change the last line to:
es_delayed 4 rcon log off
That way, it gives GunGame enough time to fully load to see what error might be occurring. Please post the log here after you have tried that. Thanks.

*Edit: nvm me, didn't pay enough attention to notice those are rcon, so es_delayed wouldn't be necessary. Though, you should definitely wait a couple seconds before using the last line.

Satoon
satoon101

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

Postby satoon101 » Tue Dec 27, 2011 2:46 am

One thing that I just noticed is you will need to make this fix to get it to work (once everything else is working):
viewtopic.php?f=74&t=1116#p8835

Just make the change XE_ManUp posted, and it should fix that issue (though, that line probably will not be #103, just search for it).

Satoon
satoon101

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

Postby GirlieBalls » Tue Dec 27, 2011 8:35 pm

Ok so here is the weirdest thing, I went through and checked the default configs because it was saying my gun order was set to default and I set it to random. I download the file from the server and its set to default. I changed it to #random and restarted the server, join and the weapon order is random. Now going back through the others everything is set to 0 that I already changed to 1. I reset all the configs and uploaded them again and it all seems fine. I got the warmup back to 1hp on spawn and its working as far as I can tell. Now I just have to get mani to work, the vdf load seems to not let teh server start. Well thanks for your help. I can believe I never checked back to see if the configs were set right.
GirlieBalls

Private
Private
 
Posts: 26
Joined: Thu Jul 09, 2009 8:40 pm
Steam Friends Name: piromaniak10

Postby satoon101 » Tue Dec 27, 2011 11:34 pm

Glad to hear it is working. Let us know if you need further assistance.

Satoon
satoon101

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

Postby tnarocks » Fri Dec 30, 2011 6:56 am

has anyone had this problem where if they have !give on there server that it will work for one map and then the next map it wont work for them. and the only way to fix it is to leave the server and come back. Ive had it happen to me a few times.
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby GirlieBalls » Fri Dec 30, 2011 9:45 pm

Im actually only getting a non random order when I have it turned on. Im using #random and the order is random but it doesnt change every map like it used to do. I just watched it and the order stayed the same random order every map and then I restarted the server and it was a different order but didnt change from map to map again. I dont know if there is a new command but it usually worked fine with using the #random order
GirlieBalls

Private
Private
 
Posts: 26
Joined: Thu Jul 09, 2009 8:40 pm
Steam Friends Name: piromaniak10

Postby satoon101 » Sat Dec 31, 2011 2:38 am

Odd. We had this bug a while back, but it was fixed. I'll test it when I can, but the last time I tested, it worked as it should. We haven't even touched the Weapon Order code since that time.

Satoon
satoon101

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

Postby GirlieBalls » Sat Dec 31, 2011 3:48 am

It does work fine for a while and then it undoes itself I think. It was working on my server for a while and I was told today it wasnt changing anymore
GirlieBalls

Private
Private
 
Posts: 26
Joined: Thu Jul 09, 2009 8:40 pm
Steam Friends Name: piromaniak10

Postby satoon101 » Sat Dec 31, 2011 7:53 am

I believe I found and fixed that bug. Try version 5.1.610 and let me know if that indeed did fix it.

Satoon
satoon101

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

Next


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 25 guests

cron