#include "amx/amxvarserver.h"
#include "regions.h"
#include "scp_parser.h"
#include "client.h"
Go to the source code of this file.
Namespaces | |
| namespace | Unicode |
Defines | |
| #define | TEMP_STR_SIZE 1024 |
Variables | |
| server_st | server_data |
| WSADATA | wsaData |
| WORD | wVersionRequested |
| long int | oldtime |
| long int | newtime |
| bool | g_nShowLayers |
| int | dummy__ |
| dont touch ! nomen est omen ! | |
| repsys_st | repsys |
| resource_st | resource |
| cGuilds * | Guilds |
| teffect_st * | teffects |
| std::vector< std::string > | clientsAllowed |
| client version controll system | |
| cRegion * | mapRegions |
| std::multimap< int, tele_locations_st > | tele_locations |
| can't use a map here, so using a multimap with x as the key :( | |
| int | networkTime |
| int | timerTime |
| int | autoTime |
| int | loopTime |
| int | networkTimeCount |
| int | timerTimeCount |
| int | autoTimeCount |
| int | loopTimeCount |
| begging_st | begging_data |
| fishing_st | fishing_data |
| spiritspeak_st | spiritspeak_data |
| speed_st | speed |
| char | n_scripts [NUM_SCRIPTS][512] |
| short | g_nMainTCPPort |
| char | script1 [512] |
| char | script2 [512] |
| char | script3 [512] |
| char | script4 [512] |
| added to use for newbie items | |
| int | escortRegions |
| P_CLIENT | clientInfo [MAXCLIENT] |
| bool | cryptedClient [MAXCLIENT] |
| unsigned char | buffer [MAXCLIENT][MAXBUFFER] |
| char | outbuffer [MAXCLIENT][MAXBUFFER] |
| int | client [MAXCLIENT] |
| short int | walksequence [MAXCLIENT] |
| int | acctno [MAXCLIENT] |
| unsigned char | clientip [MAXCLIENT][4] |
| int | binlength [MAXIMUM+1] |
| int | boutlength [MAXIMUM+1] |
| unsigned char | clientDimension [MAXCLIENT] |
| char | tbuffer [MAXBUFFER] |
| char | xoutbuffer [MAXBUFFER *5] |
| gmpage_st | gmpages [MAXPAGES] |
| gmpage_st | counspages [MAXPAGES] |
| skill_st | skillinfo [SKILLS+1] |
| unsigned short int | doorbase [DOORTYPES] |
| char | skillname [SKILLS+1][20] |
| char | serv [MAXSERV][3][30] |
| Servers list. | |
| char | saveip [30] |
| Servers list. | |
| char | start [MAXSTART][5][30] |
| Startpoints list. | |
| title_st | title [ALLSKILLS+1] |
| unsigned char * | comm [CMAX] |
| int | layers [MAXLAYERS] |
| location_st | location [4000] |
| logout_st | logout [1024] |
| Instalog. | |
| region_st | region [256] |
| advance_st | wpadvance [1000] |
| char | spellname [71][25] |
| unsigned int | metagm [256][7] |
| for meta gm script | |
| int | validEscortRegion [256] |
| int | npcshape [5] |
| Stores the coords of the bouding shape for the NPC. | |
| char | idname [256] |
| char | pass1 [256] |
| char | pass2 [256] |
| char | fametitle [128] |
| char | skilltitle [50] |
| char | prowesstitle [50] |
| char * | completetitle |
| char | gettokenstr [256] |
| unsigned char | w_anim [3] |
| int | g_nCurrentSocket |
| unsigned long | uiCurrentTime |
| unsigned int | polyduration |
| int | gDecayItem |
| int | gRespawnItem |
| int | save_counter |
| int | gatecount |
| int | day |
| int | secondsperuominute |
| UI32 | uotickcount |
| int | moon1update |
| int | moon2update |
| unsigned char | moon1 |
| unsigned char | moon2 |
| unsigned char | dungeonlightlevel |
| unsigned char | worldfixedlevel |
| unsigned char | worldcurlevel |
| unsigned char | worldbrightlevel |
| unsigned char | worlddarklevel |
| int | goldamount |
| UI08 | defaultpriv1 |
| UI08 | defaultpriv2 |
| unsigned int | teffectcount |
| unsigned int | nextfieldeffecttime |
| unsigned int | nextnpcaitime |
| unsigned int | nextdecaytime |
| bool | heartbeat |
| int | len_connection_addr |
| sockaddr_in | connection |
| sockaddr_in | client_addr |
| hostent * | he |
| int | err |
| int | error |
| bool | keeprun |
| int | a_socket |
| fd_set | conn |
| fd_set | all |
| fd_set | errsock |
| int | nfds |
| timeval | nettimeout |
| int | now |
| FILE * | wscfile |
| unsigned int | servcount |
| unsigned int | startcount |
| unsigned long | itemCount |
| unsigned long | npcCount |
| unsigned long | charCount |
| int | secure |
| unsigned char | season |
| int | locationcount |
| unsigned int | logoutcount |
| unsigned long int | updatepctime |
| int | global_lis |
| char * | cline |
| int | tnum |
| unsigned int | starttime |
| unsigned int | endtime |
| unsigned int | lclock |
| bool | overflow |
| unsigned char | wtype |
| int | executebatch |
| int | openings |
| unsigned int | respawntime |
| unsigned int | gatedesttime |
| int | donpcupdate |
| unsigned int | hungerdamagetimer |
| unsigned long int | serverstarttime |
| unsigned long | initialserversec |
| unsigned long | initialservermill |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MAXCLIENT arrays /// |
|
|
|
|
|
client version controll system
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MAXCLIENT arrays /// |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dont touch ! nomen est omen !
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
file : amxcback.cpp Project : Nox-Wizard Author : Purpose : Implementation of Functions for AMX Callbacks and AMX Events |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Instalog.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for meta gm script
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stores the coords of the bouding shape for the NPC.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Servers list.
|
|
|
|
|
|
|
|
|
|
|
|
added to use for newbie items
|
|
|
|
|
|
|
|
|
|
|
|
Servers list.
|
|
|
|
|
|
|
|
|
|
|
|
and the rest / |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Startpoints list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
can't use a map here, so using a multimap with x as the key :(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|