Page 1 of 1

gg_admin addon problems

PostPosted: Fri Dec 26, 2008 9:52 am
by -=k2=-
Hi guys,

I'm getting problems to become admin on the gg5, none of the commands are working.
I'm clearly not admin.
Still, I'm declared (in adminlist.txt and should have access to all commands, level3)
STEAM_0:1:mysteam -=mpseudo k2=- 3


I have noticed the following error concerning the load and execution of the gg_admin included addon:
...
[GunGame] Addon (gg_admin) was successfully registered.
Traceback (most recent call last):
File "/home/ftp/doozer_VI/cstrike/addons/eventscripts/es.py", line 356, in loadModuleAddon
addons.load(newaddon)
File "/home/ftp/doozer_VI/cstrike/addons/eventscripts/es.py", line 156, in load
addon.load()
File "/home/ftp/doozer_VI/cstrike/addons/eventscripts/gungame/included_addons/gg_admin/gg_admin.py", line 52, in load
gg_admin.loadTranslationFile()
File "/home/ftp/doozer_VI/cstrike/addons/eventscripts/_libs/python/gungamelib.py", line 1158, in loadTranslationFile
loadTranslations(self.addon)
File "/home/ftp/doozer_VI/cstrike/addons/eventscripts/_libs/python/gungamelib.py", line 1956, in loadTranslations
raise IOError('Cannot load strings (%s): no string file exists.' % addon)
IOError: Cannot load strings (gg_admin): no string file exists.
Could not open script for addons/eventscripts/gungame/included_addons/gg_admin/es_gg_admin.txt
Error source (console): (no script)
[GunGame] Addon (gg_error_logging) was successfully registered.
...


it looks like it has to do with the translation and indeed there is no gg_admin.ini file in translation and no es_gg_admin.txt in addons/eventscripts/gungame/included_addons/gg_admin/

BY creating those files even if contents is "rubissh" as I dont know what to put in, I'm not getting those opening or missing translation errors anymore.

Can you please comment and advise and also elaborate a bit on the exact admin syntax commands to call admin menus (specially the one for spawnpoints)

Cheers

-=k2=-

PostPosted: Fri Dec 26, 2008 1:10 pm
by Saul
gg_admin was removed many many revisions ago due to it not being built to specifications. It is no longer supported. You could possibly try going back to the revision when it was removed and grab the translation files from there.

Re: gg_admin addon problems

PostPosted: Fri Dec 26, 2008 2:40 pm
by -=k2=-
Oki Saul, Thks for the quick reply I'll try to make it.

is there any other way to add spawn points ?

PostPosted: Fri Dec 26, 2008 5:38 pm
by Saul
Rcon ;)

PostPosted: Sat Dec 27, 2008 3:04 pm
by bytethegroove
try dynamic spawns.....great es addon

PostPosted: Sat Dec 27, 2008 4:02 pm
by Saul
gg_admin may be included in the next version of GunGame (5.1 / 5.5). It will be the same as the current except taking advantage of the new cmdlib library.

PostPosted: Sat Dec 27, 2008 5:10 pm
by Don
There is a spawnpoint maker built-in to GG5. I can't remember the command but someone will shortly I hope.

PostPosted: Sat Dec 27, 2008 10:02 pm
by Saul
gg_spawn_add <userid>

PostPosted: Tue Dec 30, 2008 1:51 am
by toh192
Answers my question, thank you!

If gg_admin was removed, how about removing it from the package? I wouldn't have been looking for an answer if there wasn't a script. Although, I happen to think its a great idea, but the only useful feature would be easier adding of some spawn points. gg_level up and level down shouldn't ever even need to be used, and almost every server has some kind of admin system, so don't fret developers, and keep developing!!

Thanks!