Raised This Month: $32 Target: $400
 8% 

[TF2] Cosmetic Leveling Mod (v0.1.2)


Post New Thread Reply   
 
Thread Tools Display Modes
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 10-01-2011 , 08:36   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #61

Here are some fixes to invalid client errors:
(look down 2 posts)
Let me know if it works right.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 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; 10-03-2011 at 07:50.
FlaminSarge is offline
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 10-03-2011 , 06:28   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #62

L 10/02/2011 - 156:11: [SM] Native "ThrowError" reported: Client 7 is not in game
L 10/02/2011 - 156:11: [SM] Displaying call stack trace for plugin "levelmod.smx":
L 10/02/2011 - 156:11: [SM] [0] Line 59, C:\sourcemod\include\colors.inc::CPrintToChat ()
L 10/02/2011 - 156:11: [SM] [1] Line 111, C:\sourcemod\levelmod.sp::Advertisement()
L 10/02/2011 - 156:14: Error log file session closed.
L 10/02/2011 - 156:16: SourceMod error session started
L 10/02/2011 - 156:16: Info (map "pl_badwater") (file "errors_20111002.log")
L 10/02/2011 - 156:16: [SM] Native "CloseHandle" reported: Handle 521201cb is invalid (error 1)
L 10/02/2011 - 156:16: [SM] Displaying call stack trace for plugin "levelmod.smx":
L 10/02/2011 - 156:16: [SM] [0] Line 226, C:\sourcemod\levelmod.sp::OnClientDisconnect( )
L 10/02/2011 - 16:10:40: Error log file session closed.
RavensBro is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 10-03-2011 , 07:50   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #63

Found it, fixed, hopefully.
Attached Files
File Type: sp Get Plugin or Get Source (levelmod.sp - 207 views - 8.3 KB)
File Type: smx levelmod.smx (9.6 KB, 243 views)
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 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
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 10-05-2011 , 10:19   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #64

ok so far i got no errors. but do you think you could make it so it keeps the levels for a player?
RavensBro is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 10-08-2011 , 19:39   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #65

Quote:
Originally Posted by noodleboy347 View Post
NOTE: This plugin does not save progress on mapchange or reconnect to server. The players' levels are reset when the map is changed, and all progress is lost when a client disconnects. It was designed this way.
...
It's entirely possible with clientprefs though.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 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
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 10-21-2011 , 19:33   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #66

i got the sound to work to i like to mess with things at times and i get lucky lol.
RavensBro is offline
DimentioXR74
Junior Member
Join Date: Jun 2011
Location: Arizona
Old 10-25-2011 , 01:10   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #67

Quote:
Originally Posted by FlaminSarge View Post
...
It's entirely possible with clientprefs though.

May you go more into detail? I'm interested in a version of this that would keep the levels of the players connecting and disconnecting from the server.
DimentioXR74 is offline
Poi5on
Member
Join Date: Feb 2012
Old 02-23-2012 , 16:22   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #68

I love this mod, only sad it resets when server goes down :/
Poi5on is offline
senseit
Member
Join Date: Aug 2009
Old 08-07-2012 , 14:33   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #69

Here's something fun I did with this as sort of a proof of concept. Ripped the display code from this plugin. Planning to use this as a base for an expansive plugin for my group of servers. I thought someone else might enjoy it.

I tied it into HLStatsXce and used the ranking system in HLStatsXce. Then I just displayed that information in game. It works quite well. Displays Title, Level, XP, updates as you play.

I placed my hlstatsxce tables in my 'default' session (the same place where my mysql bans and admins are stored, everything under one db, nice an easy for pulling info or sharing between them).

Place the plugin in your plugins directory and make sure that your hlstatsxce tables are in your default session.

No support given.
Attached Files
File Type: sp Get Plugin or Get Source (hlxce-level-mod.sp - 178 views - 4.5 KB)

Last edited by senseit; 08-07-2012 at 14:37.
senseit is offline
ShiiTake
Member
Join Date: May 2010
Old 09-23-2013 , 20:14   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #70

Can you make this plugin to save progress every endround ? I wat to make a long mod rpg
__________________
ShiiTake 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 03:15.


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