[ReGameDLL] TTT
#1
Para empezar este 2018 dejare algo inutil pero a otros quizas le sirva
supuestamente fue removido el orpheu para ser usado en ReGameDLL_CS

Requisitos
REAPI
ReGameDLL_CS
rehlds
AmxModX 1.8.2+

¿Que tiene de nuevo?
Pues Nada, solo modificado 2 scripts y 1 include

FAQ:
P:
Código:
warning 233: symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead.
R:Solo agrega estas lineas despues del # include <amxmodx>
Código PHP:
#if AMXX_VERSION_NUM > 182
    #define client_disconnect client_disconnected
#endif 

Esto no tiene nada de interesante solo ando ladillao


Archivos adjuntos
.zip   scripting.zip (Tamaño: 5.41 KB / Descargas: 356)
Competitive/Face it Pick Up Game (PUG) servidor de prueba: 45.77.94.109:27016 Click para Entrar
[Imagen: b_350_20_5A6C3E_383F2D_D2E1B5_2E3226.png]

(14/08/2015, 10:15 PM)Sugisaki escribió: "El mundo es caotico, irracional e injusto. No tiene ningun significado"
Palabras que desde hace mucho tiempo he buscado para describir, ¿Que es el mundo?
Crab

Código PHP:
if(ayuda && free)
{
    exit();

Responder
#2
Sí pudiera darte otro +1 te lo daría Rainbow
Mis Aportes:

[ TTT ] Item: Target Gun

[ TTT ] Item: Skeleton Gun (New)
[ TTT ] Item: Pipe Bomb
[ TTT ] Item: Inverse Golden
[Imagen: 76561198074954930.png] [Imagen: venezuela.gif]
Pregúntate si lo que estás haciendo hoy te acerca a el lugar en el que quieres estar mañana. Corazón
Responder
#3
(01/01/2018, 02:15 AM)Sugisaki escribió:
Esto no tiene nada de interesante solo ando ladillao

+1 tu ia sabes..
[Imagen: 76561198350936449.png]

Cita:Los precios en la moneda venezolana se fijarán a partir de la reconversión monetaria y valdrá mucho menos de lo que cuesta una Cachapa con queso.
Responder
#4
Gracias esto me va servir mucho <333 Rainbow
(13/08/2018, 07:59 PM)KrR10VnZl escribió: Usted tiene un retraso de otro mundo, pon de tu parte coño, como es posible que preguntes cual código? muchacho mongólico si dice código, él se refiere al SMA del CTF, dios mio y si no te gusta que te digan que tienes un retraso magistral, astral del otro mundo pon de tú parte y no hagas preguntas tontas.
Responder
#5
aun no emigro a la 183... es bueno saberlo cuando me decida actualizar Thats what she said
Responder
#6
Alguien que tenga la menor idea de esto...?

Code:
Código PHP:
#include <amxmodx>
#include <reapi>

/* PLUGIN INFORMATIONS */

new const pluginName   [] = "Round Terminator";
new const 
pluginVersion[] = "1.0.1";
new const 
pluginAuthor [] = "Arkshine";

public 
plugin_init()
{
    
register_pluginpluginNamepluginVersionpluginAuthor );  
}

public 
plugin_natives ()
{
    
register_library"round_terminator")
    
register_native"TerminateRound""Native_TerminateRound" );
}


public 
Native_TerminateRound ( const plugin, const params )
{
    
enum
    
{
        
RoundEndType 1,
        
TeamWinning
    
}
    
rg_round_end(5.0get_paramRoundEndType ), get_paramTeamWinning )) // Linea del problema


Cita:Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2013 ITB CompuPhase, AMX Mod X Team

Warning: Tag mismatch on line 29
Warning: Tag mismatch on line 29
Header size: 364 bytes
Code size: 796 bytes
Data size: 908 bytes
Stack/heap size: 16384 bytes; estimated max. usage=525 cells (2100 bytes)
Total requirements: 18452 bytes

2 Warnings.
Done.
Mis Aportes:

[ TTT ] Item: Target Gun

[ TTT ] Item: Skeleton Gun (New)
[ TTT ] Item: Pipe Bomb
[ TTT ] Item: Inverse Golden
[Imagen: 76561198074954930.png] [Imagen: venezuela.gif]
Pregúntate si lo que estás haciendo hoy te acerca a el lugar en el que quieres estar mañana. Corazón
Responder
#7
(07/06/2018, 10:04 PM)SthoNy escribió: Alguien que tenga la menor idea de esto...?

Code:
Código PHP:
#include <amxmodx>
#include <reapi>

/* PLUGIN INFORMATIONS */

new const pluginName   [] = "Round Terminator";
new const 
pluginVersion[] = "1.0.1";
new const 
pluginAuthor [] = "Arkshine";

public 
plugin_init()
{
    
register_pluginpluginNamepluginVersionpluginAuthor );  
}

public 
plugin_natives ()
{
    
register_library"round_terminator")
    
register_native"TerminateRound""Native_TerminateRound" );
}


public 
Native_TerminateRound ( const plugin, const params )
{
    
enum
    
{
        
RoundEndType 1,
        
TeamWinning
    
}
    
rg_round_end(5.0get_paramRoundEndType ), get_paramTeamWinning )) // Linea del problema


Cita:Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2013 ITB CompuPhase, AMX Mod X Team

Warning: Tag mismatch on line 29
Warning: Tag mismatch on line 29
Header size: 364 bytes
Code size: 796 bytes
Data size: 908 bytes
Stack/heap size: 16384 bytes; estimated max. usage=525 cells (2100 bytes)
Total requirements: 18452 bytes

2 Warnings.
Done.
ese plugin es solo un ejemplo, el rg_round_end deberias llenarlo con algo parecido:
rg_round_end(2.0, WINSTATUS_CTS, ROUND_BOMB_DEFUSED, .message = "Soy es tu logica");
rg_round_end(2.0, WINSTATUS_TERRORISTS, ROUND_TARGET_BOMB, .message = "Soy tu mensaje favorito");
[Imagen: 76561198090851442.png]
Responder
#8
es un simple warning nada mas,

tag mismatch es que difiere el tag de la constante a usar y get_parm no tiene tag
Competitive/Face it Pick Up Game (PUG) servidor de prueba: 45.77.94.109:27016 Click para Entrar
[Imagen: b_350_20_5A6C3E_383F2D_D2E1B5_2E3226.png]

(14/08/2015, 10:15 PM)Sugisaki escribió: "El mundo es caotico, irracional e injusto. No tiene ningun significado"
Palabras que desde hace mucho tiempo he buscado para describir, ¿Que es el mundo?
Crab

Código PHP:
if(ayuda && free)
{
    exit();

Responder
#9
me tira este error ayuda... [Imagen: 616enfP] IMAGEN ERROR
[Imagen: FtQWJi4.jpg?1]
Responder
#10
(13/08/2018, 02:38 PM)JDAMPV escribió: me tira este error ayuda... [Imagen: 616enfP] IMAGEN ERROR

Lee los requisitos.
Responder
#11
Como se instala ese reapi ? donde debo pegarlo ?
[Imagen: FtQWJi4.jpg?1]
Responder
#12
el reapi es un .dll si eres windows o .so si eres linux, busca addons/amxmodx/modules/ y lo pegas ahi.
[Imagen: 76561198090851442.png]
Responder
#13
me sirvio mucho !! gracias por el codigo Gran sonrisa sugisaki Gran sonrisa ,,,comenzo a pasarme error desde que actualize mi amxmodx a 1.8.3 ..con tu codigo se soluciono ya no sale warning ... Gran sonrisa gracias !!
Responder
#14
Código PHP:
L 07/14/2019 18:26:24: [ReAPIrg_round_endunknown win status 0
L 07
/14/2019 18:26:24: [AMXXDisplaying debug trace (plugin "round_terminator.amxx")
L 07/14/2019 18:26:24: [AMXXRun time error 10native error (native "rg_round_end")
L 07/14/2019 18:26:24: [AMXX]    [0round_terminator.sma::Native_TerminateRound (line 32)
L 07/14/2019 18:26:24Unhandled dynamic native error
L 07
/14/2019 18:26:24: [AMXXDisplaying debug trace (plugin "ttt_round_winner.amxx")
L 07/14/2019 18:26:24: [AMXXRun time error 10native error (native "TerminateRound")
L 07/14/2019 18:26:24: [AMXX]    [0ttt_round_winner.sma::End_Round_False (line 127

Linea 32
Código PHP:
public Native_TerminateRound ( const plugin, const params )
{
    
enum
    
{
        
RoundEndType 1,
        
TeamWinning
    
}
    
rg_round_end(5.0get_paramRoundEndType ), get_paramTeamWinning )) //Linea 32


Linea 127
Código PHP:
public End_Round_False()
{
    new 
mode ttt_get_gamemode();
    if(
mode == GAME_STARTED || mode == GAME_OFF || mode == GAME_UNSET)
        
TerminateRound(RoundEndType_TeamExterminationPC_DETECTIVEMapType_Bomb);//Linea 127

Siempre dispuesto a aprendes cosas nuevas todos los días Sonrisa
Responder


Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)