AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Code Snippets/Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=83)
-   -   Useful Tutorials, Guides, Snippets, and References (https://forums.alliedmods.net/showthread.php?t=172936)

Arkshine 11-27-2011 17:25

Useful Tutorials, Guides, Snippets, and References
 
Useful Tutorials, Guides, Snippets, and References
Updated January 7th, 2012



Compilation of almost all the threads of this section.
Now, no more excuses to not find easily a tutorial.

Check the wiki, too.


Contents :

Pawn Programming top
General top
[TUT] Pawn Picture Tutorial
[TUT] Programming for starters
[TUT] Class Specifiers (new static stock public const)
[TUT] Pawn Tutorial
[TUT] Advanced Scripting
[TUT] Optimizing Plugins
[TUT] Debugging Plugins
[TUT] Good programming habits
[TUT] Code Styling & Good Programming Habits
[TUT] Modules and efficient scripting
[TUT] A word about memory
[TUT] Half-Life Position, Velocity, and Angles (for n00bs)
[TUT] Temp Entity Events
[TUT] Traceline Tutorial (Fakemeta)
[TUT] Useful Functions that Nobody Uses
Pawn Specific top
[TUT] Automatons
[TUT] Bits, Bit-fields, and Bit-wise Operators
[TUT] Bitsums and Operators
[TUT] Condition operator aka ? and :
[TUT] Dynamic number of arguments in functions
[TUT] Enumerations (enum)
[TUT] Packed vs Unpacked Strings
[TUT] String Slicing
[TUT] "Structs" in pawn
[TUT] Tags
[TUT] The Preprocessor (#if, #include, #pragma, etc.)
[TUT] The Use of Stocks
[TUT] The Use of Static Variables
[TUT] Using New Menu System
[TUT] Using XVars
AMXX Specific top
[TUT] Common Issues and Examples/Solutions
[INFO] Cvars
[TUT] Dynamic / Fake Natives
[TUT] EngFunc_* Interactive tutorial
[TUT] Fakemeta General Usage
[INC] Fakemeta Utilities [last update: 2007/01/08]
[INFO] Fakemeta & Ham detailed function descriptions and examples
[TUT] Fake Forwards
[TUT] Finding Entities
[TUT] Half Life 1 Events: Registering, Using, and Reading them
[TUT] Messages (Temp Entities, Game Events, etc.)
[TUT] NEW DBI API (MySQL /SQL)
[TUT] New AMXX Menu System
[TUT] Plugin API
[TUT] Regular Expressions
[TUT] set_tasks: when they are and when they aren't necessary
[TUT] set_speak() in Fakemeta
[TUT] Scripting Cvars
[INFO] The advantages of a trie over an array for strings storage
[TUT] Touch Stuff
[TUT] Usage EngFunc_EntitiesInPVS
[TUT] Using Button Constants
[TUT] Using Files to write data/values(old and new file commands)
AMXX Scripting top
Conversion top
[INC] Cstrike Module to Fakemeta[+Ham]
[STK] CvarToColor()
[STK] Hexadecimal to Decimal
[INC] IP/NET converter and checker
[INC] Number Conversions
[STK] String <-> Int
[INC] Unix Time
Display top
Chat top
[TUT] ColorChat Guide - How To Make !
[TUT] Special Characters - Character set for HL - CS
[INC][STK] ColorChat v0.2.1 (28 dec 2010)
[CODE] CS Color Chat Function Updated:[01/26/2007]
[CODE] [color chat]
[INC] New chars
HUD top
[CODE] Beampoints from a player's weapon tip
[TUT] Custom Weapon Hud Sprites + Slot Redirection
[TUT] User Icon Status
[INC] ColorStatus
[CODE] Compass
[INC] [CZ] Czero Tutor
[INC] Director Hud Message
[INC] Dynamic HUD
[STK] More Flexible HUD Msg
[STK] Rainbow HUD messages using the HSV color model
[INC] Sync HUD Messages
[INC] ScreenFade Util
Data Communication top
[TUT] Introduction to sockets
[TUT] How to post on Twitter from CS
[TUT] Sockets and webservers
[INC] FTP
[INC] HTTP
[CODE] Listenning socket
[INC] Server Queries
[INC] Server Comm
[INC/MOD] Sockets Forwards
Data/File Handling top
SQL top
[TUT] MySql - Save/Load/Usefull Things (Xp Mod)
[TUT] MySQL Info! [plugin example]
[TUT] SQLx - The newest AMXX SQL driver set (advantages and usage)
[INC] SQLVault
String top
[INC] String Stocks
[INC] Crypt
[INC] Tiny Encryption Algorithm
[INC] text.inc
[STK] Url encode stock
Vault top
[INC] FVault - A new vault system!
[INC] New File Vault - A newer file vault system!
[TUT] nVault
[INC] nVault Utility
[TUT] Reading nVault Files
Others top
[STK] Array Copy Stock
[STK] Auto Exec Config File
[STK] File copy/cut
[INC] GetUserExtraInfo
[INC] Hash/Hashx
Events/Actions/Hook top
Player top
[INC] Blocking Buy Commands (Basic)
[INC] [CS][Forward] client_buy
[TUT] How to block PlayerUse ?
[TUT] How to detect Holding Walk Button (CS)
[TUT] How to detect if player is visible.
[TUT] How to respawn a player
[CODE] Multilines kick reason
[CODE] No Clip - Stuck
[TUT] Semiclip
Weapon top
[TUT] Blocking weapon fire, including client-side sounds/animations
[TUT] Changing weapon models (Extended)
[TUT] CS Bomb Scripting
[TUT] Detecting when hitting a shield
[TUT] Flashbang Remote Control API [Flash events]
[STK] ham_give_weapon and ham_strip_weapon
[CODE] ham_get_user_weaponent [CSTRIKE]
[CODE] Dropped weapons remover
[CODE] How to detect weapon Drop/Touch details [including drop type, weapon type, etc]
[CODE] How to detect fired particle creation/type/number/attack/obstacle/vector
[CODE] How to hook reload event properly
[CODE] How to properly catch shot event in CS
Others top
[TUT] Giving a model a weapon
[TUT] New Round / Player Spawn / Round Start / Round End - do Not mess it
Fix/Workaround top
[TUT] Add Admin IP Fix
[TUT] Blockmaker - create teleport aiming fix
[TUT] Changing player models and lowering svc_bad
[INC] [CS] Player Models API 1.2
[CODE] Automatic func_tanks in Counter Strike
[CODE] [CS] mp_autokick/cs_get_user_lastactivity fix
[CODE] Respawn issues [Crosshair fix]
[CODE] strip_user_weapons [Cs Specific]
Gameplay top
Environment top
[STK] Creating customizable fog
[CODE] Rain or snow on your map
[CODE] HL-Style Holographic Effect
Player top
[INC] Player AirAccelerate
[CODE] CS 1.6 Custom 3rd Person View
[CODE] CS Semirecoil
[CODE] New Semiclip Method
Plugin/Module Specific top
FFAC top
[TUT] How to use msn/aim/icq bot | skill
Orpheu top
[TUT] Control CZ Bots
[TUT] Engine PM Functions
[TUT] GameRules Object
[TUT] How to make signatures (of bytes)
[TUT] How to hook when player use +voicerecord
[TUT] Patching strings in memory
[TUT] Using virtual functions
Blockmaker top
[TUT] All-in-One Tutorial
[TUT] Action Scripts
[TUT] Adding Blocks
[TUT] Changing Title/Changing Text Color
[TUT] How to use less actions in your bm
[TUT] Removing Blocks
[TUT] Removing Original Trampoline Skin
Zombie Plague top
[TUT] How to make a Zombie Class
Zombie Plague Advance top
[TUT] How to create a custom game mode
XP Plugin top
[TUT] New XP Mod tutorial
[TUT] Updated Flyen's EXP Tutorial (Fixed Errors)
[TUT] XP Based Plugin - Tutorial!
Raw Datas top
[INFO] About bullet/particle power change
[INFO] Counter-Strike pvPrivateData offsets
[INFO] Counter-Strike SDK
[INFO] CS Weapon Information
[INFO] CZ Career
[INFO] CZ Career HUD
[INFO] Half-Life 1 Engine Messages
[INFO] Half-Life 1 Game Events
[INFO] [Datas Dump][Cstrike] m_iMenu : Menu IDs
[INFO] Fall Damage Formula
[INFO] List of CS/CZ/DOD Events/Messages with their arguments
[INFO] Pointer to g_pGameRules and it's offsets
[INFO] Think workflow
Utilities top
[INC] Arrays with N Dimensions
[INC] Beam Entities
[INC] Bit (formally Boolean)
[INC] bits.inc
[INC] CellTravTrie
[INC] CHR Engine
[INC] DataPacks: Heterogeneous Container
[INC] dDimension 1.1
[TUT] ExplodeString( p_szOutput[][], p_nMax, p_nSize, p_szInput[], p_szDelimiter )
[STK] get_user_fps
[STK] get user name (HL log format)
[CODE] Personal String Management (utilizes trunk's Cellarray)
[INC] The XS Library
[INC] Tools X v0.1
[INC] Weapon Slots Stocks 1.0am
[INC] Worldspawn Keyvalue Access
Unsorted/Others top
[CODE] Colors
[CODE] CSDM Style Weapons Menu
[TUT] Dead Bodies
[CODE] Distance Based Accuracy / Cone of Fire Creation
[TUT] DOD: add sprites to knives & nades
[TUT] Dynamic Items in Menu and Plugin API[+Ham]
[CODE] Elements - Earth, Water, Fire and Wind
[TUT] Finding relations between entities
[TUT] How to Block Sounds
[TUT] How to find Entites
[TUT] How to find a Random Origin (Scanning)
[TUT] How to make a perfect NPC
[TUT] How to make a NPC with extra features
[TUT] How to retrieve random values from an array without retreiving the same twice
[TUT] How to successfully precache files
[TUT] How not to hard code paths
[TUT] imessage random colors
[CODE] Mapchooser with vote statistics
[TUT] Precache that MOTD
[TUT] Random locations generator
[TUT] Recording Damage/Hits Per-Round and Displaying It
[TUT] Your own Admin System
Compiling top
[TUT] Compiling Amxx Plugin on Linux (Ubuntu)[Video]
[TUT] Compiling errors
[TUT] How to Compile locally with custom includes
Forum top
[TUT] Using the Search Button

HL1 Mods Stocks top
[INC] Avalanche's TS Weapon Functions BETA V v3
[INC] BrainBread Stock File
[INC] ESF Stock
[INC] ESF UTIL
[INC] Half-Life Stocks
[INC] NS Team
[INC] Sven Co-op 4.5 (v2)
[INC] TS Natives (Version: 0.1b)
[INC] TS Stocks
Tools top
Notepad++ top
[EXE] Notepad++ AlliedModders Edition
[TUT] AMXX Keywords for Syntax Highlighting
[TUT] Pawn Language Definition for notepad++
[TIP] Notepad++ Tips and Tricks
Unsorted/Others top
[TUT] Decompiling Plugins (.amx/x -> .sma)
[TUT] Finding Entities from the dll
[TUT] IDA Pro - engfunc offsets
[TUT] Yet Another Introduction to Pawn (unrelated AMXX)
[TUT] Using sourcebans on a HL1 server..
Weird/Outdated/Useless top
[TUT] How to properly reset user speed ?
[TUT] Create customs Modes
[TUT] Config files
[TUT] All In One
[TUT] Finding "[TUT] Using the Search Button
[TUT] Hexadecimal system
[INC] [Native] Angle Speed
[CODE] Getting user fps
[TUT] Do you use Pawn Studio?
[INC] More array dimensions - Pawn
[CODE] Action Script for XP Block

Arkshine 11-27-2011 17:28

Re: Useful Tutorials, Guides, Snippets, and References
 
Notes :

- I've tried my best to sort the links even though I suck at it.
- Some threads are probably missing.
- Some tags are probably wrong.
- Links have not been tested.

That's why, any feedback are welcomed, whatever wrong link, better organizing, etc. I know well there is room for improvements.

Thanks in advance.

ConnorMcLeod 11-27-2011 17:32

Re: Useful Tutorials, Guides, Snippets, and References
 
And how is this supposed to be usefull ?

hannes 11-27-2011 18:13

Re: Useful Tutorials, Guides, Snippets, and References
 
Nice :o

nikhilgupta345 11-27-2011 19:55

Re: Useful Tutorials, Guides, Snippets, and References
 
Good job. I know it must have taken you a long time to sort through all the links and organize them properly, so props to you for that.

Hopefully this stops all the stupid posts about where to find tutorials for AMXX scripting.

Emp` 11-27-2011 20:57

Re: Useful Tutorials, Guides, Snippets, and References
 
You should try to add a brief explanation of each section and each thread; experienced users might have an understanding of what the section titles might mean, but new users will have a hard time deciphering which thread they should be looking in.

Good job though, I am sure that took you a great amount of time to accomplish.

fysiks 11-28-2011 03:36

Re: Useful Tutorials, Guides, Snippets, and References
 
Wow, that's awesome!

Quote:

Originally Posted by ConnorMcLeod (Post 1603840)
And how is this supposed to be usefull ?

LOL.

Quote:

Originally Posted by Emp` (Post 1603911)
You should try to add a brief explanation of each section and each thread; experienced users might have an understanding of what the section titles might mean, but new users will have a hard time deciphering which thread they should be looking in.

IMO, that would make it too cluttered. If he could do mouse over popups (like you see in the forums when you hover over thread topics) then he could put them there and not clutter it all up. However, I'm not sure that is possible with bb code. Example HTML code:
HTML Code:

<a href="http://www.yourdomain.com/" title="Hello how are you today?"> Link</a>

Jacob 11-28-2011 07:22

Re: Useful Tutorials, Guides, Snippets, and References
 
Awesome work!!! ArkShine.

drekes 11-28-2011 08:22

Re: Useful Tutorials, Guides, Snippets, and References
 
Great job.
Many things that i haven't seen before.

dark_style 11-28-2011 12:22

Re: Useful Tutorials, Guides, Snippets, and References
 
Awesome topic! :)


All times are GMT -4. The time now is 10:08.

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