Skip to content
Hercules Docs
OnInit:
Initializing search
GitHub
Welcome to Hercules
About
Basics
Client
Contributing
Customization
Overview
Scripting
Setup
Hercules Docs
GitHub
Welcome to Hercules
About
About
IRC
Hercules Hierarchy
Basics
Basics
Aegis
Account ID (AID)
Character ID (CID)
Game ID (GID)
GM Commands
Kafra
MVP
Npc
RID
Sakray
Zeny
Client
Client
Act
clientinfo.xml
Data folder structure
Data.ini
Diff files
DLL Import
Grf
Hex editor
Hexing
Loading screens
Login background
Lua
Lub
Modeling
Palettes
resnametable.txt
RGZ
RO Pixeling Colors
Spriting
Texture
Token Text Table
Patchers
Patchers
KPatcher
NeonCube
Thor Patcher
Triad Patcher
Contributing
Contributing
Bugtracker labels
Coding style
Creating pull requests
Editing the Docs
Gdb
Generate HPM Hook on windows
Git
Msvc crash debugging
Customization
Customization
Adding a script
Adding new mapflag
Adding new skills
Adding new statuses
Atcommand go
Building hpm plugin for gcc
Building hpm plugin for msvc
Custom Items
Custom jobs
Custom mobs
Custom NPCs
Custom pets
Custom weapons
db2sql
Defining warp points
Edit max level
getequippedon()
Hercules plugin manager
Localization / Translations (HULD)
Mapcache
Overview of errors
Server modification
War of emperium
Overview
Overview
Character server
Hercules changes
Hercules interface system
Hercules original
Hercules renewal phase one
Indai
Inter server
Login server
Map server
Racial group
Source
Source
Msg txt
Packets
Status list
Clif
Clif
Clif authfail
Clif displaymessage
Clif emotion
Clif skill nodamage
Clif specialeffect
Map
Map
Map cell2gat
Map gat2cell
Map setgatcell
Mob
Mob
Mob get random id
Mob once spawn
Pc
Pc
Pc checkskill
Pc gainexp
Pc readglobalreg
Pc search inventory
Pc setglobalreg
Pc setglobalreg str
Pc setpos
Status
Status
Status change end
Status get status
Status heal
Status percent heal
Timer
Timer
Timer add timer
Scripting
Scripting
Arrays
Basic scripting
break
do { ... } while (...)
for (...)
Functions
if (...) / else
Instancing
Item script
Loops
Mapflag
Menus
Parameter constants
Permanent monster spawn
Player parameter
Quest log system
switch (...) / case
Timers
Tips and tricks
Variables
while (...)
Commands
Commands
addmonsterdrop()
addtimer()
addtimercount()
agitcheck()
agitend()
agitstart()
announce()
atcommand()
attachnpctimer()
attachrid()
autobonus()
autobonus2()
autobonus3()
awake()
basicskillcheck()
bg_destroy()
bg_get_data()
bg_getareausers()
bg_leave()
bg_monster()
bg_monster_set_team()
bg_team_setxy()
bg_updatescore()
bg_warp()
bindatcmd()
bonus()
bonus2()
bonus3()
bonus4()
bonus5()
bpet()
buyingstore()
callfunc()
callsub()
changebase()
changelook()
checkcell()
checkchatting()
checkidle()
checkmount()
checkvending()
cleararray()
clone()
close()
close2()
copyarray()
countbound()
countitem()
cutin()
day()
deletearray()
delitem()
delmonsterdrop()
deltimer()
delwall()
detachnpctimer()
detachrid()
disablenpc()
dispbottom()
doevent()
donpcevent()
emotion()
enablenpc()
end
escape_sql()
explode()
freeloop()
getareadropitem()
getareausers()
getarg()
getargcount()
getarraysize()
getbrokencount()
getcastledata()
getcastlename()
getcharid()
getd()
getelemenofarray()
getequipid()
getequipname()
getequiprefinerycnd()
getequipweaponlv()
getgmlevel()
getgroupid()
getguildmaster()
getguildmasterid()
getguildmember()
getguildname()
getinventorylist()
getitem()
getitem2()
getitembound()
getitembound2()
getitemname()
getlook()
getmapguildusers()
getmapusers()
getmobdrops()
getnameditem()
getnpctimer()
getpartymember()
gettime()
gettimestr()
gettimetick()
getusers()
getvariableofnpc()
goto()
guildopenstorage()
hascashmount()
heal()
initnpctimer()
input()
isloggedin()
isnight()
itemheal()
itemskill()
jobchange()
max()
menu()
mes()
message()
min()
misceffect()
monster()
next()
night()
npctalk()
openstorage()
percentheal()
playerattached()
prompt()
pushpc()
query_logsql()
query_sql()
queue()
queueadd()
queuedel()
queueopt()
queueremove()
queuesize()
rand()
readparam()
removemapflag()
return
savepoint()
sc_end()
sc_start()
sc_start2()
sc_start4()
searchstores()
select()
set()
setarray()
setcashmount()
setcell()
setd()
setfont()
setiteminfo()
setitemscript()
setlook()
setmapflag()
setmount()
setnpcdisplay()
setnpctimer()
setwall()
skilleffect()
sleep()
sleep2()
specialeffect()
startnpctimer()
stopnpctimer()
strcharinfo()
strnpcinfo()
viewpoint()
warp()
warpparty()
Events
Events
OnAgitEnd:
OnAgitInit:
OnAgitStart:
OnCharIfInit:
OnClock:
OnInit:
OnInterIfInit:
OnInterIfInitOnce:
OnTimer:
OnTouch: / OnTouchNPC: / OnUnTouch:
Setup
Setup
Compiling (Windows)
Compiling
Configuration
Configure
Connecting
Git clone unix
Git clone
Import folder
Installation (CentOS)
Installation (Debian)
Installation (FreeBSD)
Installation
Installing SQL
mmo.h
network.conf
Obtaining hercules
Src config
Supported platforms
Basic Requirements
OnInit:
¶
Timers
Back to top