Kings and Bandits Source / Windows Compiles
I have the source and compiled exes for Windows available for Kings and Bandits. You may have interest in this if you are looking to add new items in during gameplay, team-based pvp systems, generating random names for items/npcs, or pvp leaderboards for certain pvp/pve designs. There is also a dual login server feature that allows you to sync accounts in game.
I will try to add more details as time goes on for now I am releasing the links (plus there are some additional notes included in the zip). I broke it down into multiple files due to some being large (Such as maps). Source + Compiled Exes (Build dir) + Quests Kings Server Database (Includes the custom tables and also some random items already generated) Item Editor (Support for creating Random Item Templates (min/max) against existing items, also random names used in random items or npc names) Event Viewer (Updated to work a bit better, was used for showing pop counts in eventlog as well) KBTools (C# Tools) EQ Maps |
Quote:
|
The last changelog entry was feb 24 2011 so I am guessing r1873. I did include some additional fixes that were added later on. Most changes for the random items should be within EmuShareMem and in the SharedDatabase class.
Just to add if anyone has any code questions please feel free to ask. I know there are a lot of side implementations that may interest some (like the ones mentioned above, there are more such as character achievements for PVP, eg. reaching certain kills/deaths and you get some coin and recognition in-game, just hard to remember each implementation). |
I pulled the code changelog from the db, there are three revisions that were added, 1882, 1883 and 1890.
KaB/red69 changelog |
Basic Quest Examples for the KaB extensions available thus far
Create loot for NPC after spawn The sub EVENT_SPAWN is called before we can properly instantiate random loot - it is important that you have a timer call and in the EVENT_TIMER check and call AddLootGroup(rndlootgroupid) against the $npc pointer. Try to use unique timer names for each quest file. Code:
sub EVENT_SPAWN { Quest scripts should always be created at the zone level, the name or npc id will work. Team guards must be set on spawn and if you wish to reset any guard card statistics given to the NPC they must be reset on death. The statistics are saved in the team_guards table in the database. an example script would include: Code:
sub EVENT_SPAWN Code:
sub EVENT_DEATH Code:
sub SUB_WHATEVER Check player's PVP value Code:
sub SUB_WHATEVER Check if player is king of a team Code:
sub SUB_WHATEVER Set player's PVP flag Code:
sub SUB_WHATEVER Get team statistics Code:
sub SUB_WHATEVER |
Not to necro a post or anything but since I got a PM about asking for this source I have put it back up at www.eqpvp.com/archive -- the old site isn't available at this time. Also there are a lot of fixes I have applied since then, eventually I will get to packing it all up again, but likely won't be soon.
|
All times are GMT -4. The time now is 07:48 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.