AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   AMX Super (https://forums.alliedmods.net/forumdisplay.php?f=111)
-   -   amx_super Chat Bug (https://forums.alliedmods.net/showthread.php?t=69741)

ClizMa 04-10-2008 15:15

amx_super Chat Bug
 
L 04/10/2008 - 15:30:38: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 04/10/2008 - 15:30:38: [AMXX] Run time error 4: index out of bounds
L 04/10/2008 - 15:30:38: [AMXX] [0] amx_super.sma::catch_say (line 1429)
L 04/10/2008 - 15:30:38: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 04/10/2008 - 15:30:38: [AMXX] Run time error 4: index out of bounds
L 04/10/2008 - 15:30:38: [AMXX] [0] amx_super.sma::catch_say (line 1459)
No_Hope : ahaha n1 :D !

Lame Bug, When Someone type in chat something, This what i see.

Code:

; AMX Mod X plugins

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

; Basic
admincmd.amxx        ; basic admin console commands
adminhelp.amxx        ; help command for admin console commands

; 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)

; Chat / Messages
adminchat.amxx        ; console chat commands
adminvote.amxx        ; vote commands

; Configuration
pausecfg.amxx        ; allows to pause and unpause some plugins

; Custom - Add 3rd party plugins here
amx_super.amxx debug
fog.amxx

Code:

;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time.  Use      ;;
;;  amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here.              ;;
;; You can just list their names, without the _amxx ;;
;;  or file extension.                              ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded  ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.                      ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
cstrike
csx


bmann_420 04-10-2008 20:32

Re: amx_super Chat Bug
 
Can I get the results of amxx plugins and amxx modules from a server console or rcon?

hoboman 04-10-2008 20:46

Re: amx_super Chat Bug
 
Quote:

Originally Posted by bmann_420 (Post 609464)
Can I get the results of amxx plugins and amxx modules from a server console or rcon?

what for?
the bug is that the count has dimensions of [32][32] and get_players() gets the ids of all the players and puts them in the players[] array.
If the server has 32 people then one of the elements in the players[] array has an id of 32. Since 32 is bigger than 31 ( the largest players[] array element ), this will cause an error.

ClizMa 04-10-2008 20:50

Re: amx_super Chat Bug
 
Yeah, my server is 32/32 Slots.

hostname: #Public Server | ZombieMod
version : 47/1.0.0.2/Stdio 2738 insecure
tcp/ip : xxx.xxx.xxxx.xxxx: xxxxx
map : Zombie_DusT2 at: 0 x, 0 y, 0 z
players : 0 active (32 max)

so i need to do 30 slots ? or 31?

hoboman 04-10-2008 22:09

Re: amx_super Chat Bug
 
you don't need to do anything...it is the plugin's fault

bmann_420 04-10-2008 23:37

Re: amx_super Chat Bug
 
The reason I said that.... was because if he is using the most recent super, his modules.ini looked like he was using a version before 1.8, since I was at work, doing a quick run thru. If u actually wanted the explination.

But thankx

X rated. 05-14-2008 12:05

Re: amx_super Chat Bug
 
i got a other problem at the chat
im seeing most of the messages people write twice for some reason ...

any idea about that?

bmann_420 05-14-2008 23:39

Re: amx_super Chat Bug
 
did you install amx_super and amx_super_nospeed?

X rated. 05-15-2008 09:45

Re: amx_super Chat Bug
 
yes.. is that a problem? :o

YamiKaitou 05-15-2008 09:58

Re: amx_super Chat Bug
 
Yes. They are the same, except the amx_super_nospeed doesn't have the amx_speed command. Other than that, they do the same things


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

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