Raised This Month: $12 Target: $400
 3% 

GunGame bot problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lambchopsil
Junior Member
Join Date: Dec 2008
Old 12-07-2008 , 18:03   GunGame bot problem
Reply With Quote #1

My server's been using 1.17b for the longest time (and it worked perfectly fine), but I decided to switch over to the newest version (2.12). However, I've been having some problems with getting bots to work correctly.

Killing a bot doesn't give me any points at all (and a bot killing me doesn't give the bot any points), and the bots don't respawn even though deathmatch is on. However, I respawn perfectly fine when killed.

I haven't tried it with other human players yet, since I wanna get it to work before I let other people try

As for the bots, I have no clue what type they are. I didn't install those myself. How do you check, anyways?

amxx modules
Code:
Currently loaded modules:
      name                    version     author               status     
 [ 1] Fun                     1.8.1.3746  AMX Mod X Dev Team   running    
 [ 2] Engine                  1.8.1.3746  AMX Mod X Dev Team   running    
 [ 3] FakeMeta                1.8.1.3746  AMX Mod X Dev Team   running    
 [ 4] nVault                  1.8.1.3746  AMX Mod X Dev Team   running    
 [ 5] CStrike                 1.8.1.3746  AMX Mod X Dev Team   running    
 [ 6] CSX                     1.8.1.3746  AMX Mod X Dev Team   running    
 [ 7] Ham Sandwich            1.8.1.3746  AMX Mod X Dev Team   running    
 [ 8] CSDM2                   2.1         CSDM Team            running    
8 modules, 8 correct
amxx plugins
Code:
Currently loaded plugins:
       name                    version     author            file             status   
 [  1] Admin Base              1.8.1.3746  AMXX Dev Team     admin.amxx       running  
 [  2] Admin Commands          1.8.1.3746  AMXX Dev Team     admincmd.amxx    running  
 [  3] Admin Help              1.8.1.3746  AMXX Dev Team     adminhelp.amxx   running  
 [  4] Slots Reservation       1.8.1.3746  AMXX Dev Team     adminslots.amxx  running  
 [  5] Multi-Lingual System    1.8.1.3746  AMXX Dev Team     multilingual.am  running  
 [  6] Menus Front-End         1.8.1.3746  AMXX Dev Team     menufront.amxx   running  
 [  7] Commands Menu           1.8.1.3746  AMXX Dev Team     cmdmenu.amxx     running  
 [  8] Players Menu            1.8.1.3746  AMXX Dev Team     plmenu.amxx      running  
 [  9] Maps Menu               1.8.1.3746  AMXX Dev Team     mapsmenu.amxx    running  
 [ 10] Plugin Menu             1.8.1.3746  AMXX Dev Team     pluginmenu.amxx  running  
 [ 11] Admin Chat              1.8.1.3746  AMXX Dev Team     adminchat.amxx   running  
 [ 12] Anti Flood              1.8.1.3746  AMXX Dev Team     antiflood.amxx   running  
 [ 13] Scrolling Message       1.8.1.3746  AMXX Dev Team     scrollmsg.amxx   running  
 [ 14] Info. Messages          1.8.1.3746  AMXX Dev Team     imessage.amxx    running  
 [ 15] Admin Votes             1.8.1.3746  AMXX Dev Team     adminvote.amxx   running  
 [ 16] NextMap                 1.8.1.3746  AMXX Dev Team     nextmap.amxx     running  
 [ 17] Nextmap Chooser         1.8.1.3746  AMXX Dev Team     mapchooser.amxx  running  
 [ 18] TimeLeft                1.8.1.3746  AMXX Dev Team     timeleft.amxx    running
 [ 19] Pause Plugins           1.8.1.3746  AMXX Dev Team     pausecfg.amxx    running  
 [ 20] Stats Configuration     1.8.1.3746  AMXX Dev Team     statscfg.amxx    running  
 [ 21] StatsX                  1.8.1.3746  AMXX Dev Team     statsx.amxx      running  
 [ 22] CS Misc. Stats          1.8.1.3746  AMXX Dev Team     miscstats.amxx   running  
 [ 23] GunGame AMXX            2.12        Avalanche         gungame.amxx     running  
 [ 24] CSDM Main               2.1         CSDM Team         csdm_main.amxx   running  
 [ 25] CSDM Equip              2.1         CSDM Team         csdm_equip.amxx  running  
 [ 26] CSDM Mod                2.1         CSDM Team         csdm_spawn_pres  running  
 [ 27] CSDM Spawn Editor       2.1         CSDM Team         spawn_editor.am  running  
 [ 28] CSDM Misc               2.1         CSDM Team         csdm_misc.amxx   running  
 [ 29] CSDM Protection         2.1         BAILOPAN          csdm_protection  running  
 [ 30] CSDM Main               2.1         CSDM Team         csdm_ffa.amxx    running  
30 plugins, 30 running
meta list
Code:
Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.8.1.3  ini  Start ANY  
 [ 2] HLGuard          RUN   -    hlguard_mm.dll    v1.8      ini  Chlvl Chlvl
 [ 3] Fun              RUN   -    fun_amxx.dll      v1.8.1.3  pl1  ANY   ANY  
 [ 4] Engine           RUN   -    engine_amxx.dll   v1.8.1.3  pl1  ANY   ANY  
 [ 5] FakeMeta         RUN   -    fakemeta_amxx.dl  v1.8.1.3  pl1  ANY   ANY  
 [ 6] CStrike          RUN   -    cstrike_amxx.dll  v1.8.1.3  pl1  ANY   ANY  
 [ 7] CSX              RUN   -    csx_amxx.dll      v1.8.1.3  pl1  ANY   ANY  
 [ 8] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.1.3  pl1  ANY   ANY  
 [ 9] CSDM2            RUN   -    csdm_amxx.dll     v2.1      pl1  ANY   ANY  
9 plugins, 9 running
plugins.ini
Code:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx        ; admin base (required for any admin-related)
;admin_sql.amxx        ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx        ; basic admin console commands
adminhelp.amxx        ; help command for admin console commands
adminslots.amxx        ; slot reservation
multilingual.amxx    ; Multi-Lingual management

; Menus
menufront.amxx        ; front-end for admin menus
cmdmenu.amxx        ; command menu (speech, settings)
plmenu.amxx        ; players menu (kick, ban, client cmds.)
;telemenu.amxx        ; teleport menu (Fun Module required!)
mapsmenu.amxx        ; maps menu (vote, changelevel)
pluginmenu.amxx        ; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx        ; console chat commands
antiflood.amxx        ; prevent clients from chat-flooding the server
scrollmsg.amxx        ; displays a scrolling message
imessage.amxx        ; displays information messages
adminvote.amxx        ; vote commands

; Map related
nextmap.amxx        ; displays next map in mapcycle
mapchooser.amxx        ; allows to vote for next map
timeleft.amxx        ; displays time left on map

; Configuration
pausecfg.amxx        ; allows to pause and unpause some plugins
statscfg.amxx        ; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx        ; restrict weapons menu
statsx.amxx        ; stats on death or round end (CSX Module required!)
miscstats.amxx        ; bunch of events announcement for Counter-Strike
;stats_logging.amxx    ; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx    ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here

;GunGame mod (must start via the console)
gungame.amxx
gungame.cfg
Code:
; GunGame AMXX 2.12

// basic cvars
gg_enabled 0
gg_vote_setting 2
gg_vote_custom ""
gg_changelevel_custom ""
gg_map_setup "mp_timelimit 45; mp_winlimit 0; sv_alltalk 0; mp_chattime 10; mp_c4timer 25"
gg_endmap_setup ""
gg_join_msg 1
gg_colored_messages 1
gg_save_temp 300
gg_status_display 1
gg_map_iterations 1
gg_ignore_bots 0
gg_block_equips 0
gg_leader_display 1
gg_leader_display_x -1.0
gg_leader_display_y 0.0
gg_allow_changeteam 2
gg_disable_money 1
gg_winner_motd 1
gg_afk_protection 0

// autovote cvars
gg_autovote_mode 0
gg_autovote_rounds 1
gg_autovote_delay 8.0
gg_autovote_ratio 0.51
gg_autovote_time 10.0

// stats cvars
gg_stats_file "gungame.stats"
gg_stats_ip 0
gg_stats_prune 2592000
gg_stats_mode 2
gg_stats_winbonus 1.5

// deathmatch cvars
gg_dm 1
gg_dm_sp_time 1.0
gg_dm_sp_mode 1
gg_dm_spawn_random 2
gg_dm_start_random 1
gg_dm_spawn_delay 3.0
gg_dm_spawn_afterplant 1
gg_dm_corpses 1
gg_dm_countdown 2

// objective cvars
gg_block_objectives 0
gg_bomb_defuse_lvl 1
gg_host_touch_reward 2
gg_host_rescue_reward 2
gg_host_kill_reward 1
gg_host_kill_penalty 1

// teamplay cvars
gg_teamplay 0
gg_teamplay_melee_mod 0.33
gg_teamplay_nade_mod 0.50
gg_teamplay_timeratio 1

// gameplay cvars
gg_ff_auto 1
gg_weapon_order "glock18,usp,p228,deagle,fiveseven,elite,m3,xm1014,tmp,mac10,mp5navy,ump45,p90,galil,famas,ak47,scout,m4a1,sg552,aug,m249,hegrenade,knife"
gg_max_lvl 3
gg_triple_on 0
gg_turbo 1
gg_knife_pro 1
gg_knife_elite 0
gg_suicide_penalty 1
gg_worldspawn_suicide 1
gg_pickup_others 0
gg_handicap_on 1
gg_top10_handicap 1
gg_warmup_timer_setting 0
gg_warmup_weapon "knife"
gg_warmup_multi 0
gg_nade_glock 1
gg_nade_smoke 1
gg_nade_flash 1
gg_extra_nades 1
gg_nade_refresh 5.0
gg_kills_per_lvl 2
gg_kills_botmod 1.0
gg_give_armor 100
gg_give_helmet 1
gg_ammo_amount 200
gg_refill_on_kill 1
gg_tk_penalty 1
gg_awp_oneshot 1
gg_bots_skipnade 0

// sound cvars
gg_sound_levelup "sound/gungame/smb3_powerup.wav"
gg_sound_leveldown "sound/gungame/smb3_powerdown.wav"
gg_sound_levelsteal "sound/gungame/smb3_1-up.wav"
gg_sound_nade "sound/gungame/nade_level.wav"
gg_sound_knife "sound/gungame/knife_level.wav"
gg_sound_welcome "sound/gungame/gungame2.wav"
gg_sound_triple "sound/gungame/smb_star.wav"
gg_sound_winner "media/Half-Life03.mp3;media/Half-Life08.mp3;media/Half-Life11.mp3;media/Half-Life17.mp3"
gg_sound_takenlead "sound/gungame/takenlead.wav"
gg_sound_tiedlead "sound/gungame/tiedlead.wav"
gg_sound_lostlead "sound/gungame/lostlead.wav"
gg_lead_sounds 0.8

// random weapon order cvars (leave blank to disable)
gg_weapon_order1 ""
gg_weapon_order2 ""
gg_weapon_order3 ""
gg_weapon_order4 ""
gg_weapon_order5 ""
gg_weapon_order6 ""
gg_weapon_order7 ""
gg_weapon_order8 ""
gg_weapon_order9 ""
gg_weapon_order10 ""

// valid weapon names for gg_weapon_order:
//
// ak47, aug, awp, deagle, elite, famas, fiveseven, g3sg1, galil, glock18, hegrenade, knife,
// m249, m3, m4a1, mac10, mp5navy, p228, p90, scout, sg550, sg552, tmp, ump45, usp, xm1014
lambchopsil is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-07-2008 , 18:10   Re: GunGame bot problem
Reply With Quote #2

You should not use CSDM wit Gungame. Gungame has its own respawn system which does the job better than CSDM.

Btw, what is your bots ?
__________________
Arkshine is offline
lambchopsil
Junior Member
Join Date: Dec 2008
Old 12-07-2008 , 18:17   Re: GunGame bot problem
Reply With Quote #3

Disabling CSDM makes no difference...

I don't know what bots I'm running, and I don't know how to check either. (Like I said, I didn't install the bots myself)

When I check the scores of the players at round start, it says I'm at level 1 (which is correct) and in first place, while all the bots are at level 0 and unranked...
lambchopsil is offline
Old 12-07-2008, 18:22
Arkshine
This message has been deleted by Arkshine. Reason: nvm
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-07-2008 , 18:24   Re: GunGame bot problem
Reply With Quote #4

Your mod is cs1.6 or cz ?
__________________
Arkshine is offline
lambchopsil
Junior Member
Join Date: Dec 2008
Old 12-07-2008 , 18:27   Re: GunGame bot problem
Reply With Quote #5

CS 1.6
lambchopsil is offline
Old 12-07-2008, 18:33
Arkshine
This message has been deleted by Arkshine. Reason: I think I'm wrong. nvm.
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-07-2008 , 19:59   Re: GunGame bot problem
Reply With Quote #6

Most likely you're using zBots (arkshine, you were right). zBot unlocks the CZ bots for use in CS 1.6, which is apparently illegal. See http://forums.alliedmods.net/showthread.php?t=46031

GunGame 2.xx registers hooks for death, spawn, etcetera based on entity type. The CZ bots have their own entity type, and GunGame only bothers to look for them if the mod name is "czero". So GunGame is not registering the hooks for them because they are CZ bots and it doesn't think you are running CZ.

You could probably fix this by replacing all instances of "czero" with "cstrike" in the SMA file, but zBot usually causes other problems with GunGame anyway (such as crashing).
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
lambchopsil
Junior Member
Join Date: Dec 2008
Old 12-07-2008 , 20:46   Re: GunGame bot problem
Reply With Quote #7

Hmm, I looked up zbot and how to install it.
I don't have the file "zbotcz.dll" anywhere, which apparently is critical to getting zbot to work. But neither do I have the popular bots like pod...

I'm suspecting that the person who helped me set up bots did something similar to zbots though.

I'll try your suggestion with editing the SMA file and edit this post with my results

Edit: Nope, didn't work. At least I know what the problem is now. I'll go install some "real" bots that are "legal". Thanks for the help though!

Last edited by lambchopsil; 12-07-2008 at 21:14.
lambchopsil is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-07-2008 , 22:21   Re: GunGame bot problem
Reply With Quote #8

It would probably be in your server's dlls folder, it replaces the mp.dll. You should get different bots anyway, but if you still want to try to fix it, do this instead: Go to line 374, you should find this chunk:

Code:
    // remember the mod     new modName[7];     get_modname(modName,6);     if(equal(modName,"czero")) // line 374     {         czero = 1;         bot_quota = get_cvar_pointer("bot_quota");     }

Change it to something like this:

Code:
    // remember the mod     new modName[7];     get_modname(modName,6);     if(equal(modName,"czero") || equal(modName,"cstrike",6)) // line 374     {         czero = 1;         bot_quota = get_cvar_pointer("bot_quota");     }

The problem with replacing "czero" with "cstrike" is that "cstrike" is more than 6 characters so it wouldn't have passed the original if statement. But if you do this you don't have to change any occurances of "czero".
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
lambchopsil
Junior Member
Join Date: Dec 2008
Old 12-07-2008 , 23:32   Re: GunGame bot problem
Reply With Quote #9

It works!

Thanks for all the help~
Yeah, I see why changing it to "cstrike" wouldn't work...

Hmm, my bots have never crashed before, but I think I'll switch to something else just in case
lambchopsil is offline
TheSpaniard
Senior Member
Join Date: Jul 2017
Location: Hell
Old 08-22-2017 , 05:15   Re: GunGame bot problem
Reply With Quote #10

how to disable gg plugin for specific maps or can it be used with multimod plugin
TheSpaniard is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode