Raised This Month: $138 Target: $400
 34% 

[TF2Items] Bot Weapon Randomizer v2.2.15 (08 Oct 2013)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Plugin ID:
2514
Plugin Version:
2.2.15-20131008
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
22 
Plugin Description:
Non-default items/weapons for bots.
Old 08-24-2011 , 11:00   [TF2Items] Bot Weapon Randomizer v2.2.15 (08 Oct 2013)
Reply With Quote #1

What is it?
Auto-bot-custom-weapon-giver. OH SHI~
How it looks like?
Screenshots: #1, #2, #3, #4, #5, #6, #7.
Dependencies:
SourceMod 1.5+;
TF2Items extension;
TF2ItemsInfo plugin.
Optional:
TF2Items Randomizer's gamedata.
Updater plugin.
Who is credit to team?
* FlaminSarge - bug fixes,
* Jwu - bug reports
* Lolwutman - bug reports
How to install?
Step 01: Install TF2Items extension
Step 02: Install TF2 Items Info plugin
Step 03: Get tf2items.randomizer.txt from this thread
Step 04: Put tf2items.randomizer.txt in /addons/sourcemod/gamedata/
Step 06: Download files from below
Step 07: Put tf2ibwr.smx in /addons/sourcemod/plugins/
Step 08: Put tf2ibwr.schema.txt in /addons/sourcemod/configs/
Step 091: Put tf2ibwr.sp in /addons/sourcemod/scripting/
How to configure?
You're able to use different config file by changing tf2items_bwr_config.
See default config file for details.
List of TF2 items.
Known issues?
1/ Equip conflicts is still here. Nothing I can do.
2/ Some new items might be buggy. Fix - set their drop_chance 0.
3/ Unusual weapons with unusual effects. Fixed!
4/ Bots are without bodies after update? It's outdated gamedata! Also, temporary fix - disable wearables via cvar.
ToDo list:
* Use itemsets from items_game.txt;
* Option to change loadout after number of (often) deaths.
CVars & CMDs:
PHP Code:
tf2items_botweprand_version // version
tf2items_bwr_enable 1 // enable/disable plugin
tf2items_bwr_debug 0 // enable/disable debug (item giving tracking)
tf2items_bwr_updater 1 // enable/disable autoupdate
tf2items_bwr_memory 1 // toggle saving last items
tf2items_bwr_config "tf2ibwr.schema.txt" // set config file
tf2items_bwr_checkforempty 1 // give (or not) a weapon if slot is empty
tf2items_bwr_checkformode 1 // toggle SuddenDeath and Medieval detecting
tf2items_bwr_checkforstocks 1 // checking for stock items
tf2items_bwr_checkdelay 0.1 // delayed checking
tf2items_bwr_logs 1 // enable/disable logs
tf2items_bwr_wearables 1 // enable/disable wearables (ex: chargin' targe)
// commands
tf2items_bwr_refresh // reload config file 
Changeogs:

Code:
08.10.13:
  * Version: 2.2.15:
    * Increased index max length;
    * Added warning message when same index is used more that once;
    * Updated configs.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
    * tf2ibwr.schema.nosets.txt
04.10.13:
  * Version: 2.2.14:
    * Added feature to set range o indexes in config files;
    * Updated configs.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
    * tf2ibwr.schema.nosets.txt
21.07.13:
  * Version: 2.2.13:
    * Fixed engineers couldn't build.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
14.06.13:
  * Version: 2.2.12:
    * No actual changes.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
13.06.13:
  * Version: 2.2.11:
    * Attempt to fix memory leak.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
12.06.13:
  * Version: 2.2.10:
    * Attempt to fix memory leak.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
25.12.12:
  * Version: 2.2.9:
    * Improved debug mode:
      * No more console spam with duplicate messages;
      * Detailed logs.
    * Updated configs:
      * Disabled festive sandwish
      * Disabled vaccinator (probably crashing server)
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
16.09.12:
  * Version: 2.2.8:
    * Actually fixed weapon removing on melee-only sudden death.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
15.09.12:
  * Version: 2.2.7:
    * Improved melee-only detection.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
11.09.12:
  * Version: 2.2.6:
    * Probably fixed weapon removing on melee-only sudden death.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
    * tf2ibwr.schema.nosets.txt
29.09.12:
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
    * tf2ibwr.schema.nosets.txt
28.09.12:
  * Version: 2.2.5:
    * Added Dr Enforcicle (spy) set;
    * Updated Winter Heavy set (replaced Normal Minigun with Festive Minigun);
    * Added tf2ibwr_getchance so you can test item chances;
    * Added tf2items_bwr_updater console variable so you can disable autoupdate.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
    * tf2ibwr.schema.nosets.txt
    * tf2ibwr.schema.medieval.txt
11.09.12:
  * Version: 2.2.4:
    * Fixed Spirit Of Giving attributes.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
02.09.12:
  * Version: 2.2.3:
    * Updated item selection (one more time).
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
01.09.12:
  * Version: 2.2.2:
    * Fixed stock weapons aren't removed if their drop_chance 0;
    * Fixed equiping last of items per slot, even if it has drop_chance 0;
    * Probably added per-class item chances;
    * Fixed bots can't equip primary/secondary weapons on medieval.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
28.08.12:
  * Version: 2.2.1:
    * Fixed annoying log errors on medieval.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
27.08.12:
  * Version: 2.2.0:
    * Synchronized with latest TF2ItemsInfo version (1.8.0);
    * Added ItemSets.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
22.07.12:
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
19.07.12:
  * Version: 2.1.24:
    * Fixed bots are forgot about primary/secondary weapons on medieval mode.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
17.07.12:
  * Version: 2.1.23:
    * Fixed global vintage/genuine/strange/paint/community chances aren't being applied.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
14.07.12:
  * Version: 2.1.22:
    * Fixed pyrovision glasses attribute value.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
11.07.12:
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
06.07.12:
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
05.07.12:
  * Version: 2.1.21:
    * Fixed part of code where gets a random item;
    * Limit of single section with multiple items - 64.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
02.07.12:
  * Version: 2.1.20:
    * Now you can set global drop chance:
	  * To use config file as whitelist, set global drop chance 0;
	* Renamed option 'chance' to 'drop_chance'.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
01.07.12:
  * Version: 2.1.19:
    * Now you can set chances for multiple items.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
29.06.12:
  * Version: 2.1.18:
    * Added back tf2items_bwr_wearables cvar.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
    * tf2ibwr.schema.txt
24.06.12:
  * Version: 2.1.17:
    * Added tf2items_bwr_logs cvar.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
18.06.12:
  * Version: 2.1.16:
    * Fixed unusual weapons with unusual effects bug.
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.sp
06.06.12:
  * Version: 2.1.15:
    * Fixed broken quality 13 (haunted):
      * If you still getting errors with quality 12 (completed), update your TF2Items extension;
    * Synchronized with latest TF2ItemsInfo version (1.7.7).
  * Files updated:
    * tf2ibwr.smx
    * tf2ibwr.schema.txt
    * tf2ibwr.sp
2.1.14:
  * Compatibility with future TF2Items Randomizer update.
2.1.13:
  * Fixed MEMORY LEAK errors.
2.1.12:
  * Fixed damn Sudden Death bug that allows engineers to build when melee-only enabled!
2.1.11:
  * Minor bugs fixes.
2.1.10:
  * Community items!
2.1.9:
  * Synchronized with latest TF2ItemsInfo version (1.7.3).
2.1.8:
  * Added strange weapons.
2.1.7:
  * Now ckecking for equip conflicts!
2.1.6:
  * Updated with latest TF2ItemsInfo changes;
  * Improved code;
  * Updated TF2IBWR_OnGiveItem so if bMemory is true, returning Plugin_Handled will force plugin to look for another item;
  * Paint, vintage, genuine, and unusual chances per item!
2.1.5:
  * Wiki Cap quality fix;
  * Added TF2IBWR_OnGiveItem forward;
  * Fixed stripping items on sudden death;
  * Fixed bug with saxxy-based items (and saxxy itself).
2.1.4:
  * Fixed holiday restrictions;
  * Now supports GoD-Tony's Updater plugin.
2.1.3:
  * Bug fixes. Many of them!
2.1.2:
  * Fixed working with stocks.
2.1.1:
  * Fixed compatibility with TFItems GiveWeapon/Randomizer plugins.
2.1.0:
  * Updated so plugin now based on TF2ItemsInfo plugin.
2.0.9:
  * Fixed memory leaks
2.0.8:
  * New console variables:
    * 'tf2items_bwr_checkforstocks' - checking for stock items;
    * 'tf2items_bwr_checkdelay' - delayed checking.
2.0.7:
  * Removed 'tf2items_bwr_wearables' console variable;
  * New console variables:
    * 'tf2items_bwr_checkforempty' - checking for empty slots. if slot empty, so, slot must be empty, plugin will not give weapon or inter in this slot;
    * 'tf2items_bwr_checkformode' - enable/disable SuddenDeath and Medieval detecting.
2.0.6:
  * Fixed prefabs not parsed correctly.
2.0.5:
  * Fixed item memory again (so now can remember attributes);
  * More hardcoded halloween and haunted items;
  * Added Wiki Cap blocking to default config file;
  * Vintage and genuine weapons and hats;
  * Setting to disable ugradeable stock weapons;
  * Fixed random paint cans choosing.
2.0.4:
  * Fixed item memory fails;
  * Fixed haunted wearable items;
  * No more action items.
2.0.3:
  * Fixed config file parser;
  * Fixed wearing wearable weapons.
2.0.2:
  * Fixed unusual and painted items not getting their attributes;
  * Added configs with forbidden 'food';
  * Hardcoded items which can be used on Medieval mode.
2.0.1:
  * Paint cans support (paints items with real paints);
  * Hardcoded list of items which can be unusual;
  * Fixed empty attributes bug.
2.0.0:
  * Fully rewrited;
  * Items data comes from items_game.txt so no need to add items manually.
1.2.0:
  * Updated configs.
1.1.9:
  * Added tf2items_botweprand_holidays to enable/disable using only holiday hats during holidays.
1.1.8:
  * Fixed deprecated function OnGetHoliday.
1.1.7:
	<s>* Disabled hats due to latest update;</s>
  * Ability to disable hats (CIY).
1.1.6:
  * ????
1.1.5:
  * New config file format.
1.1.4:
  * Added tf2items_botweprand_file ConVar so you can change item schema faster;
  * Added tf2items_botweprand_stock_weapons;
  * Fixed equiping null item (baseball bat).
1.1.3 (hidden update):
  * Blocked unusual Ghastly Gibus;
  * Fixed minor bugs.
1.1.3:
  * Fixed civilian pose bug.
1.1.2:
  * Fixed engineer's ammo bug.
1.1.1:
  * Fixed tf2items_botweprand_keep_weapon with 0 value.
1.1.0:
  * Hats! OH SHI-!
1.0.13:
  * Fixed force-medieval-weapons-giver.
1.0.12:
  * Minor issues...
1.0.11:
  * Auto-disabling when TF2ItemsRandomizer is active.
1.0.10:
  * Added tf2items_botweprand_reload command.
1.0.9:
  * ????
1.0.8:
  * Added includable item list;
  * Fixed fail with giving permanent items by TF2ItemsGiveWeapon plugin.
1.0.7:
  * Added new items.
1.0.6:
  * Added new items.
1.0.5:
  * Removed Jarate (bots can't use this);
  * Added tf2items_givebotweapon_enable ConVar.
1.0.4:
  * Fixed sudden death restriction.
1.0.3:
  * Now bots can safely use wrenches.
1.0.2:
  * Added little delay when bot spawned.
1.0.1:
  * Removed soldier's buff items (bots can't use this).
1.0.0: (24.08.11)
  * Initial release.
Old versions:
v1.1.4 (with configs), v1.2.0 (with configs), v2.0.9 (with config)
__________________
1 - optional
Attached Files
File Type: smx tf2ibwr.smx (26.1 KB, 2687 views)
File Type: sp Get Plugin or Get Source (tf2ibwr.sp - 1847 views - 58.8 KB)
File Type: zip configs.zip (13.4 KB, 2744 views)
__________________

Last edited by Leonardo; 05-04-2019 at 08:18. Reason: removed dead links
Leonardo is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 08-24-2011 , 20:09   Re: [TF2Items] Bot Weapon Randomizer
Reply With Quote #2

Hi, Leon

I just upload this Smx , Tf2items and Tf2 items give weeapon,

and the Bots will have Visable weapons diff than normally ?
Happy DODs player is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 08-25-2011 , 05:30   Re: [TF2Items] Bot Weapon Randomizer
Reply With Quote #3

don't forget about config file.
__________________
Leonardo is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 08-25-2011 , 08:47   Re: [TF2Items] Bot Weapon Randomizer
Reply With Quote #4

Were do i need too upload the Txt File Leon. [ in the gamedata folder ? ]

And i will test it, tonight.

Last edited by Happy DODs player; 08-25-2011 at 09:01.
Happy DODs player is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 08-25-2011 , 11:15   Re: [TF2Items] Bot Weapon Randomizer
Reply With Quote #5

Quote:
Originally Posted by Leonardo View Post
How to configure?
Set custom items' IDs in the /configs/tf2items.botweapons.txt file.
__________________
Leonardo is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 08-25-2011 , 11:25   Re: [TF2Items] Bot Weapon Randomizer
Reply With Quote #6

Leon,

I uploaded the Tf2items, Tf2items give weapons.

I have uploaded your plugin and Txt file, with the Ads you made.

Restarted the server, but it doesnt boot-up my server.

If i Delete the information out of the tf2items.botweapons.txt file it will boot the server.

Any ideas on this.?
Happy DODs player is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 08-25-2011 , 11:42   Re: [TF2Items] Bot Weapon Randomizer
Reply With Quote #7

too old server? haxhax!
... AIDs I made?
also, you should show logs.

Last edited by Leonardo; 08-25-2011 at 11:46.
Leonardo is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 08-25-2011 , 12:02   Re: [TF2Items] Bot Weapon Randomizer
Reply With Quote #8

The server is up 2 date,

The log errors say : Nothing much only

L 08/25/2011 - 13:55:17: [SM] Native "TF2Items_GiveWeapon" reported: Plugin owning this native is currently paused.
L 08/25/2011 - 13:55:17: [SM] Displaying call stack trace for plugin "tf2items_botweprand .smx":





And i mean this file : If i empty this File the server Boots up, If i put this in again the server doesnt bootup at all.




"items"
{
"scout"
{
"primary" "45,220,448"
"secondary" "160,294,449"
"melee" "44,317,325,349,355,423,450,452"
}
"sniper"
{
"primary" "56,230,402,526"
"melee" "171,232,401,423"
}
"soldier"
{
"primary" "127,228,414,441,513"
"secondary" "415,442"
"melee" "128,154,264,357,416,423,447"
}
"demoman"
{
"primary" "130"
"secondary" "308"
"melee" "132,154,172,264,266,307,327,357,404,423, 482"
}
"medic"
{
"primary" "36,305,412"
"secondary" "35,411"
"melee" "37,173,304,413,423"
}
"hwguy"
{
"primary" "41,298,312,424"
"secondary" "425"
"melee" "43,239,310,331,423,426"
}
"pyro"
{
"primary" "40,215"
"secondary" "39,351"
"melee" "38,153,214,326,348,423,466,457"
}
"spy"
{
"secondary" "61,161,224,460,525"
"melee" "225,356,423,461"
"pda" "59,60,297"
}
"engineer"
{
"primary" "141,527"
"secondary" "160,294,528"
"melee" "155,169,329,423"
}
}
Happy DODs player is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 08-25-2011 , 12:13   Re: [TF2Items] Bot Weapon Randomizer
Reply With Quote #9

are you sure that TF2Items Give Weapons running correctly?
Leonardo is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 08-25-2011 , 18:08   Re: [TF2Items] Bot Weapon Randomizer (v.1.0.10)
Reply With Quote #10

Uploaded:

tf2items_manager.smx

tf2items_giveweapon.smx

tf2items_botweprand .smx

tf2 items randomiezer.txt [ uploaded in : /tf/addons/sourcemod/gamedata ]

tf2items.botweapons.txt [ uploaded in : tf/addons/sourcemod/configs ]

tf2items.givecustom.txt [ uploaded in : /tf/addons/sourcemod/gamedata ]

tf2items.weapons.txt [ uploaded in : /tf/addons/sourcemod/configs ]



This what i uploaded, and is loaded on the server.

Am i missing something. Hope you can help me out. otherwise i will need too copy all tomorrow again and try again.

Last edited by Happy DODs player; 08-25-2011 at 18:19.
Happy DODs player is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode