Raised This Month: $32 Target: $400
 8% 

Reason for disconnection amxx 1.9


Post New Thread Reply   
 
Thread Tools Display Modes
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-22-2019 , 20:36   Re: Reason for disconnection amxx 1.9
Reply With Quote #21

Just the test plugin, windows 7 sp1 latest updates ...
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-23-2019 , 02:22   Re: Reason for disconnection amxx 1.9
Reply With Quote #22

Are you 100% sure your server is up to date(both engine and mod dlls)? If they are not, we are just wasting time here.
__________________
HamletEagle is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-23-2019 , 08:51   Re: Reason for disconnection amxx 1.9
Reply With Quote #23

Quote:
Originally Posted by HamletEagle View Post
Are you 100% sure your server is up to date(both engine and mod dlls)? If they are not, we are just wasting time here.
Hamlet, to clear the question I downloaded the server again with steamcmd and upgraded it with amx 1.9 and the problem persisted, but I discovered something:

If I use this, the drop is true and the message is written.

PHP Code:
public client_disconnectedid bool:drop message[] , iLen )
{  
      
server_print"%d [%s]" drop message );

But if I add the check below, the drop is false

PHP Code:
public client_disconnectedid bool:drop message[] , iLen )

    if(
pev_valid(id) == && team == TEAM_TERRORIST || team == TEAM_CT)
    {
        
server_print"%d [%s]" drop message )
    };

__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
E1_531G
Senior Member
Join Date: Dec 2017
Old 04-23-2019 , 14:07   Re: Reason for disconnection amxx 1.9
Reply With Quote #24

Quote:
if(pev_valid(id) == 2 && team == TEAM_TERRORIST || team == TEAM_CT)
What is this?
Where does 'team' come from?
__________________
My English is A0
E1_531G is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-23-2019 , 14:16   Re: Reason for disconnection amxx 1.9
Reply With Quote #25

PHP Code:
team get_pdata_intidm_iTeam
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-23-2019 , 19:45   Re: Reason for disconnection amxx 1.9
Reply With Quote #26

There's no need to check pev_valid() as AMX-X is already verifying it is an actual player disconnecting. The team check hopefully has no impact.
__________________
Bugsy is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-23-2019 , 20:21   Re: Reason for disconnection amxx 1.9
Reply With Quote #27

Any new ideas? Honestly ... in new tests I being kicked or leaving the server the drop is always 0 ... what is this Boolean for anyway?

PHP Code:
L 04/23/2019 21:26:30: [admin.amxxLogin"iceeedR -Live<3><STEAM_0:1:56888062><>" became an admin (account "STEAM_0:1:56888062") (access "abcdefghijklmnopqrstuv") (address "192.168.1.104")
L 04/23/2019 21:26:36: [plmenu.amxxKick"iceeedR -Live<3><STEAM_0:1:56888062><>" kick "iceeedR -Live<3><STEAM_0:1:56888062><>"
[}*********Dropped iceeedR -Live from server
Reason
:  Kicked 
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Bruno"

#define XO_PLAYER 5
#define m_iTeam 114
#define TEAM_T 1
#define TEAM_CT 2

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
}

public 
client_disconnectedid bool:drop message[] , iLen )

    new 
team get_pdata_intidm_iTeamXO_PLAYER )  
    
    if(
team == TEAM_T|| team == TEAM_CT)
    {
        
server_print"%d [%s]" drop message )
    }

__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/

Last edited by iceeedr; 04-23-2019 at 20:28.
iceeedr is offline
Send a message via Skype™ to iceeedr
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-23-2019 , 20:52   Re: Reason for disconnection amxx 1.9
Reply With Quote #28

Try just the below with nothing else:

server_print( "%d [%s]" , drop , message )
__________________
Bugsy is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-23-2019 , 20:58   Re: Reason for disconnection amxx 1.9
Reply With Quote #29

PHP Code:
L 04/23/2019 21:57:07: [admin.amxxLogin"iceeedR -Live<1><STEAM_0:1:56888062><>" became an admin (account "STEAM_0:1:56888062") (access "abcdefghijklmnopqrstuv") (address "192.168.1.104")
L 04/23/2019 21:57:14: [plmenu.amxxKick"iceeedR -Live<1><STEAM_0:1:56888062><>" kick "iceeedR -Live<1><STEAM_0:1:56888062><>"
[@*********Dropped iceeedR -Live from server
Reason
:  Kicked 
PHP Code:
192.168.1.104:27005:reconnect
L 04
/23/2019 21:57:53: [admin.amxxLogin"iceeedR -Live<2><STEAM_0:1:56888062><>" became an admin (account "STEAM_0:1:56888062") (access "abcdefghijklmnopqrstuv") (address "192.168.1.104")
[@*********Dropped iceeedR -Live from server
Reason
:  Client sent 'drop' 
Only I'm finding this very strange?

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Bruno"

#define XO_PLAYER 5
#define m_iTeam 114
#define TEAM_T 1
#define TEAM_CT 2

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
}

public 
client_disconnectedid bool:drop message[] , iLen )

    
/*new team = get_pdata_int( id, m_iTeam, XO_PLAYER )  
    
    if(team == TEAM_T|| team == TEAM_CT)
    {*/
    
server_print"%d [%s]" drop message )
    
//}

PHP Code:
amxx version
AMX Mod X 1.9.0.5241 
(http://www.amxmodx.org)
Authors:
    
David "BAILOPAN" AndersonPavol "PM OnoTo" Marko
    Felix 
"SniperBeamer" GeyerJonny "Got His Gun" Bergstrom
    Lukasz 
"SidLuke" WlasinskiChristian "Basic-Master" Hammacher
    Borja 
"faluco" FerrerScott "DS" Ehlert
Compiled
Jan 30 2019 07:09:20
Built from
https://github.com/alliedmodders/amxmodx/commit/21100375
Build ID5241:21100375
Core mode
JIT+ASM32 
PHP Code:
meta version
Metamod v1.21.1
-am  2013-09-26 (5:13)
by Will Day <willday@metamod.org>
   
http://www.metamod.org/
compiledSep 26 201322:35:52  (msc optimized
PHP Code:
 [  1Admin Base              1.9.0.5241  AMXX Dev Team     admin.amxx       running  
 
[  2Admin Commands          1.9.0.5241  AMXX Dev Team     admincmd.amxx    running  
 
[  3Admin Help              1.9.0.5241  AMXX Dev Team     adminhelp.amxx   running  
 
[  4Slots Reservation       1.9.0.5241  AMXX Dev Team     adminslots.amxx  running  
 
[  5Multi-Lingual System    1.9.0.5241  AMXX Dev Team     multilingual.am  running  
 
[  6Menus Front-End         1.9.0.5241  AMXX Dev Team     menufront.amxx   running  
 
[  7Commands Menu           1.9.0.5241  AMXX Dev Team     cmdmenu.amxx     running  
 
[  8Players Menu            1.9.0.5241  AMXX Dev Team     plmenu.amxx      running  
 
[  9Maps Menu               1.9.0.5241  AMXX Dev Team     mapsmenu.amxx    running  
 
10Plugin Menu             1.9.0.5241  AMXX Dev Team     pluginmenu.amxx  running  
 
11Admin Chat              1.9.0.5241  AMXX Dev Team     adminchat.amxx   running  
 
12Anti Flood              1.9.0.5241  AMXX Dev Team     antiflood.amxx   running  
 
13Scrolling Message       1.9.0.5241  AMXX Dev Team     scrollmsg.amxx   running  
 
14InfoMessages          1.9.0.5241  AMXX Dev Team     imessage.amxx    running  
 
15Admin Votes             1.9.0.5241  AMXX Dev Team     adminvote.amxx   running  
 
16NextMap                 1.9.0.5241  AMXX Dev Team     nextmap.amxx     running  
 
17Nextmap Chooser         1.9.0.5241  AMXX Dev Team     mapchooser.amxx  running  
 
18TimeLeft                1.9.0.5241  AMXX Dev Team     timeleft.amxx    running  
 
19Pause Plugins           1.9.0.5241  AMXX Dev Team     pausecfg.amxx    running  
 
20Stats Configuration     1.9.0.5241  AMXX Dev Team     statscfg.amxx    running  
 
21StatsX                  1.9.0.5241  AMXX Dev Team     statsx.amxx      running  
 
22] New Plug-In             1.0         Bruno             tst.amxx         debug    
22 plugins
22 running 
PHP Code:
meta list
Currently loaded plugins:
      
description      stat pend  file              vers      src  load  unlod
 
1AMX Mod X        RUN   -    amxmodx_mm.dll    v1.9.0.5  ini  Start ANY  
 
2Ham Sandwich     RUN   -    hamsandwich_amxx  v1.9.0.5  pl1  ANY   ANY  
 
3CSX              RUN   -    csx_amxx.dll      v1.9.0.5  pl1  ANY   ANY  
 
4FakeMeta         RUN   -    fakemeta_amxx.dl  v1.9.0.5  pl1  ANY   ANY  
 
5CStrike          RUN   -    cstrike_amxx.dll  v1.9.0.5  pl1  ANY   ANY  
 
6Engine           RUN   -    engine_amxx.dll   v1.9.0.5  pl1  ANY   ANY  
 
7Fun              RUN   -    fun_amxx.dll      v1.9.0.5  pl1  ANY   ANY  
7 plugins
7 running 
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/

Last edited by iceeedr; 04-23-2019 at 21:01.
iceeedr is offline
Send a message via Skype™ to iceeedr
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-23-2019 , 20:59   Re: Reason for disconnection amxx 1.9
Reply With Quote #30

Yeah idk bud, reinstall AMX-X?
__________________
Bugsy is offline
Reply



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 23:37.


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