Raised This Month: $51 Target: $400
 12% 

Sven Cooperative Experience Mod [Current Version: 17.0]


Post New Thread Reply   
 
Thread Tools Display Modes
anthony_g4i
Member
Join Date: Feb 2009
Old 05-07-2009 , 20:02   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #561

new version of sven coop,,,,,,

http://www.svencoop.com/


But, new version of plugin? when?


this version (v17.0) works with sven coop 4.06 ?
anthony_g4i is offline
ifurn0
Junior Member
Join Date: Jan 2009
Old 05-08-2009 , 02:13   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #562

there is a new bug in 4.06 that we are having methinks

basically happening when shooting at osprey engine, 2 cases that were reported with ergon, but i was able to replicate the bug consistently buy telling everyone not to shoot at the osprey and me attacking it with a chain gun on maps osprey and verger, happens as soon as the bullet hits.

the effect of teh bug is players are negative about a billion xp

so there for i coded up a litte band aid patchfix for it so far, but its not complete can i please have the algorithm that calculates the xp for each level and in laymans terms how to pick one players lvl out of playerskills so i can get the level and match it to the xp and if != proper range gove a lvl to reset teh xp back to what it should be

ive tried to pick it out of your code but it requires far greater skill than a lowly mortal like i

many thanks in advance!
~ifurn0
[code]
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "osprey bugfix"
#define VERSION "0.01"
#define AUTHOR "ifurn0"



new victim
new victim_name[50]
new server_name[50]
new oldxp
new oldlvl
new fixedlvl
new high
new low

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

// well if i do need code here ill just add it to one of me other plugins...
// im unsure exactly weather to place client_authorized to kick off the script mabe here not sure
// or whether i have to do a do while

}


public fix(id,level,cid)
{
victim = client_authorized(id)
if (victim == 0)
{
console_print(id,"osprey xp bug patch is stuffing up please tell an admin")
}
else
{
get_user_name(victim,victim_name,49)
get_user_name(0,server_name,49)
//get player lvl
//get player xp
//get high
//get low

if(oldxp < low || oldxp > high)
{
fixedlvl = oldlvl +1
server_cmd("setlvl %s %s",victim_name_local,fixedlvl)
client_print(victim,print_chat,"%s:sory %s you had the osprey bug enjoy the free lvl ",server_name,victim_name)

}

// havent got as far as knowing how to do log opening and writing yet but:
// look for player in special; log
// if not there add and put name, steam id and a count of 1
// if there up the count
// if count is +100 spank them, tell them not to whore lvls from bugs, take 100 lvls off them
// start the count again and start a count in a overflow log with name steam id ip ect...
//this mightn't be necessary abuse prevention might be necessary

screenshot:
http://www.fileden.com/files/2006/7/11/123190/xp.JPG

Last edited by ifurn0; 05-08-2009 at 02:22. Reason: removed img bbcode image isnt resised and so big it stuffs up the frames
ifurn0 is offline
ifurn0
Junior Member
Join Date: Jan 2009
Old 05-08-2009 , 22:04   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #563

with sven 4.06....
if the map maker dosent set a value for the score for the kill/damage it defaults to a null value and stuffs up the xp mod

so there for open up your svencoop dir and edit skills.cfg and add this down the bottom (this will set default values if the map makers dont sprecify any)

// Tentacle
sk_tentacle1 "750"
sk_tentacle2 "750"
sk_tentacle3 "750"

// Black Ops Osprey
sk_blkopsosprey1 "600"
sk_blkopsosprey2 "600"
sk_blkopsosprey3 "600"

// Osprey
sk_osprey1 "600"
sk_osprey2 "600"
sk_osprey3 "600"

// Stuka Bat
sk_stukabat1 "123"
sk_stukabat2 "123"
sk_stukabat3 "123"

still wouldn't mind knowing the algorithm but so i can finish off the script and put it there in case of future problems that and fix those that are affected already easier.
to fix up the players that are affected just give them an extra lvl
ifurn0 is offline
anthony_g4i
Member
Join Date: Feb 2009
Old 05-18-2009 , 16:20   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #564

Sven Coop 4.07 release!!

When the new update of plugin?
anthony_g4i is offline
Bend3R
Veteran Member
Join Date: Oct 2004
Location: Sweden (Stockholm)
Old 05-18-2009 , 17:09   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #565

Quote:
Originally Posted by anthony_g4i View Post
Sven Coop 4.07 release!!

When the new update of plugin?
Don't expect to much.
Have been dicussions about new version when SC 3.5, 4.0...
He got a life also.
Take some time to make ~3000 lines file also.

Last edited by Bend3R; 05-18-2009 at 17:12.
Bend3R is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Old 05-19-2009 , 10:18   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #566

the updated sql version from few posts back loads fine with latest sven coop, not sure if there is any bugs tho.
`666 is offline
*LGS* The_Thing>:D
Junior Member
Join Date: May 2008
Old 05-23-2009 , 15:40   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #567

Question: Is there any way to increase the maximum amount of XP while adding new levels to all ten categories?

I also recommend that people use the latest version created by Wrd for the XP Mod. It works like a charm.
*LGS* The_Thing>:D is offline
Unit4
New Member
Join Date: Apr 2009
Old 05-23-2009 , 16:29   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #568

There are ways to increase max xp and levels, as well as increase the max levels of skills, however some of them reach some sort of a limit at a point, so it is best not to do this unless you are ready to run some math and re-write parts of it. You'll have to grab the source and change all of the maximums, which are hard coded in at the moment.
I know it is possible because I have not only managed to increase the maximum level, but also added a new skill to my LAN version. It took a bit of time reading into the code and learning however.
TL;DR: Yes, but it will take some work. (And if you do, don't forget to make sure the save/load will allow the higher levels)
Unit4 is offline
anthony_g4i
Member
Join Date: Feb 2009
Old 05-29-2009 , 12:59   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #569

Quote:
I also recommend that people use the latest version created by Wrd for the XP Mod. It works like a charm.

where is that??
anthony_g4i is offline
*LGS* The_Thing>:D
Junior Member
Join Date: May 2008
Old 05-30-2009 , 07:49   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #570

It's on this page:

http://forums.alliedmods.net/showthr...=44168&page=52
*LGS* The_Thing>:D 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 06:56.


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