Raised This Month: $ Target: $400
 0% 

[TF2Items] Randomizer (v1.591, 08/11/2013)


Post New Thread Reply   
 
Thread Tools Display Modes
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-01-2011 , 21:12   Re: [TF2Items] Randomizer (v1.3, 02/24/2011)
Reply With Quote #201

Quote:
Originally Posted by desco View Post
FlaminSarge, how's it coming along? Hopefully the April patches didn't wreck your code too bad.
Nothing huge, I've just been lazy at posting it here. New version will include detonator and Quick Fix, hopefully.

OnkelDagobert: If you're still having the problem, once I post the update, do this in rcon and tell me what it says:
sm plugins load tf2items_randomizer; sm plugins reload tf2items_randomizer
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 05-04-2011 at 03:39.
FlaminSarge is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-04-2011 , 03:40   Re: [TF2Items] Randomizer (v1.4, 05/3/2011)
Reply With Quote #202

Posting a new post saying that this has been updated, since somebody once complained to me that they never got the update because a new post notification never showed up when I edited the last post.

(UPDATED)
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Vathral
Member
Join Date: Oct 2010
Old 05-11-2011 , 10:22   Re: [TF2Items] Randomizer (v1.4, 05/3/2011)
Reply With Quote #203

Running sourcemod 1.3.8 build 3137 and metamod 1.8.7 build 766

This shows up in the error log.

Code:
L 05/11/2011 - 10:12:57: [SM] Plugin encountered error 25: Call was aborted
L 05/11/2011 - 10:12:57: [SM] Native "SetFailState" reported: Could not initialize call for CTFPlayer::GetMaxHealth
L 05/11/2011 - 10:12:57: [SM] Displaying call stack trace for plugin "tf2items_randomizer.smx":
L 05/11/2011 - 10:12:57: [SM]   [0]  Line 114, C:\sourcemod\addons\sourcemod\scripting\tf2items_randomizer.sp::OnPluginStart()
When trying to compile

Code:
Compiling tf2items_randomizer.sp...SourcePawn Compiler 1.3.8-dev
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

tf2items_randomizer.sp(1565) : error 017: undefined symbol "TFCond_MegaHeal"
tf2items_randomizer.sp(1568) : error 017: undefined symbol "TFCond_MegaHeal"
tf2items_randomizer.sp(3514) : warning 204: symbol is assigned a value that is never used: "wearablewep"
tf2items_randomizer.sp(232) : warning 204: symbol is assigned a value that is never used: "visibleweapons"

2 Errors.
Plugin won't load. Latest files as of this post.

Code:
OUTPUT: 49 <Error> "[TF2Items] Randomizer" (1.4) by FlaminSarge
OUTPUT: Load Errors:
OUTPUT: [TF2Items] Randomizer: Error detected in plugin startup (see error logs)
Vathral is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-11-2011 , 19:52   Re: [TF2Items] Randomizer (v1.4, 05/3/2011)
Reply With Quote #204

Ah yes, the tf2.inc needs updating, as Valve added a condition for MegaHeal, right in between some of the other conds.
Add TFCond_MegaHeal, under TFCond_Milked in tf2.inc (I don't think I used the TF_CONDFLAG_MEGAHEAL anywhere).

As for GetMaxHealth, did you update your gamedata then restart the server? If so, check to make sure the gamedata in tf2items.randomizer.txt has GetMaxHealth under "Offsets", with windows being, I believe 115, Linux definitely being 116.

The other two compiler warnings are for people that have the visweps.inc in their include folder, as visweapons is broken now but people may still have it included. If it's not running on the server, Randomizer is not affected.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 05-11-2011 at 20:02.
FlaminSarge is offline
Vathral
Member
Join Date: Oct 2010
Old 05-13-2011 , 21:56   Re: [TF2Items] Randomizer (v1.4, 05/3/2011)
Reply With Quote #205

sourcemod 1.3.8 build 3138 snapshot did the trick as it has the small changes. Thanks
Vathral is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-14-2011 , 01:45   Re: [TF2Items] Randomizer (v1.4, 05/3/2011)
Reply With Quote #206

Yes, I put up a bug on bugtracker for it
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
desco
Junior Member
Join Date: Dec 2010
Old 05-28-2011 , 11:29   Re: [TF2Items] Randomizer (v1.4, 05/3/2011)
Reply With Quote #207

My server is crashing periodically (every few rounds with a near full server) and I'm fairly certain it's related to the Randomizer. It seems to be most common at the beginning of a round when everyone is connecting and joining a team. Normally, the crashes are entirely errorless. They happen daily if the server is active.

This is the only recent error log I've been able to find and I don't know if it's related to any crashes:

Code:
L 05/25/2011 - 15:34:18: SourceMod error session started
L 05/25/2011 - 15:34:18: Info (map "cp_granary") (file "errors_20110525.log")
L 05/25/2011 - 15:34:18: [SM] Native "GetClientAbsOrigin" reported: Client index -2112012289 is invalid
L 05/25/2011 - 15:34:18: [SM] Displaying call stack trace for plugin "tf2items_randomizer.smx":
L 05/25/2011 - 15:34:18: [SM]   [0]  Line 1137, C:\sourcemod\addons\sourcemod\scripting\tf2items_randomizer.sp::OnGameFrame()
L 05/25/2011 - 15:34:20: [SM] Native "GetClientAbsOrigin" reported: Client index -2112012289 is invalid
L 05/25/2011 - 15:34:20: [SM] Displaying call stack trace for plugin "tf2items_randomizer.smx":
L 05/25/2011 - 15:34:20: [SM]   [0]  Line 1137, C:\sourcemod\addons\sourcemod\scripting\tf2items_randomizer.sp::OnGameFrame()
L 05/25/2011 - 15:34:29: [SM] Native "GetClientAbsOrigin" reported: Client index -2112012289 is invalid
L 05/25/2011 - 15:34:29: [SM] Displaying call stack trace for plugin "tf2items_randomizer.smx":
L 05/25/2011 - 15:34:29: [SM]   [0]  Line 1137, C:\sourcemod\addons\sourcemod\scripting\tf2items_randomizer.sp::OnGameFrame()
L 05/25/2011 - 15:34:38: [SM] Native "GetClientAbsOrigin" reported: Client index -2112012289 is invalid
L 05/25/2011 - 15:34:38: [SM] Displaying call stack trace for plugin "tf2items_randomizer.smx":
L 05/25/2011 - 15:34:38: [SM]   [0]  Line 1137, C:\sourcemod\addons\sourcemod\scripting\tf2items_randomizer.sp::OnGameFrame()
L 05/25/2011 - 15:35:48: [SM] Native "GetClientAbsOrigin" reported: Client index -2112012289 is invalid
L 05/25/2011 - 15:35:48: [SM] Displaying call stack trace for plugin "tf2items_randomizer.smx":
L 05/25/2011 - 15:35:48: [SM]   [0]  Line 1137, C:\sourcemod\addons\sourcemod\scripting\tf2items_randomizer.sp::OnGameFrame()
L 05/25/2011 - 15:36:16: [SM] Native "GetClientAbsOrigin" reported: Client index -2112012289 is invalid
L 05/25/2011 - 15:36:16: [SM] Displaying call stack trace for plugin "tf2items_randomizer.smx":
L 05/25/2011 - 15:36:16: [SM]   [0]  Line 1137, C:\sourcemod\addons\sourcemod\scripting\tf2items_randomizer.sp::OnGameFrame()
desco is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-28-2011 , 23:11   Re: [TF2Items] Randomizer (v1.4, 05/3/2011)
Reply With Quote #208

Accounted for the error in the next revision, thanks. That may be the issue, something about healbeams. I went in and changed the validity check.

I'll post the next version as soon as I can, it'll add the Three Rune Blade and hopefully the fishcake.

EDIT: UPDATED ON 5/29/2011.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 05-29-2011 at 19:02.
FlaminSarge is offline
DrunkenZergling
Junior Member
Join Date: Jan 2011
Old 06-01-2011 , 14:27   Re: [TF2Items] Randomizer (v1.41, 05/29/2011)
Reply With Quote #209

what do i need to do to allow visible weapons? change false to true in the source?
DrunkenZergling is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 06-01-2011 , 18:39   Re: [TF2Items] Randomizer (v1.41, 05/29/2011)
Reply With Quote #210

Valve disabled visible weapons so I excluded it from compiling. I wouldn't recommend attempting to enable them.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Reply



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 05:21.


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