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

Sven Cooperative Experience Mod [Current Version: 17.0]


Post New Thread Reply   
 
Thread Tools Display Modes
GinNNy
Senior Member
Join Date: Mar 2014
Old 07-28-2014 , 06:47   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #891

type in console amx_cvar sv_lan 0 lol
GinNNy is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 07-28-2014 , 08:21   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #892

or put it in your server.cfg.
__________________
ANTICHRISTUS is offline
farewell
New Member
Join Date: Feb 2015
Old 02-17-2015 , 09:36   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #893

Hello I have a problem with my mode SCXPM VERSION "17.0" The problem is that the players can't save exp, lv. Players have a space in nick for example: Speed Sniper or different special signs: *,[,^,% etc. it saves exp only for players who have simple nick (I mean nick without space) Please help me.

sma.
Code:
public client_authorized(id)
{
	new authid[32]
	get_user_name(id,authid,31)
	new vaultkey[64],vaultdata[96]
	format(vaultkey,63,"%s-scxpmpl",authid)
	if(vaultdata_exists(vaultkey))
	{
		get_vaultdata(vaultkey,vaultdata,95)
		replace_all(vaultdata,95,"#"," ")
		new pre_xp[16],pre_playerlevel[8],pre_skillpoints[8],pre_medals[8],pre_health[8],pre_armor[8],pre_rhealth[8],pre_rarmor[8],pre_rammo[8],pre_gravity[8],pre_speed[8],pre_dist[8],pre_dodge[8]
		parse(vaultdata,pre_xp,15,pre_playerlevel,7,pre_skillpoints,7,pre_medals,7,pre_health,7,pre_armor,7,pre_rhealth,7,pre_rarmor,7,pre_rammo,7,pre_gravity,7,pre_speed,7,pre_dist,7,pre_dodge,7)
		xp[id]=str_to_num(pre_xp)
		playerlevel[id]=str_to_num(pre_playerlevel)
		scxpm_calcneedxp(id)
		scxpm_getrank(id)
		skillpoints[id]=str_to_num(pre_skillpoints)
		medals[id]=str_to_num(pre_medals)
		health[id]=str_to_num(pre_health)
		armor[id]=str_to_num(pre_armor)
		rhealth[id]=str_to_num(pre_rhealth)
		rarmor[id]=str_to_num(pre_rarmor)
		rammo[id]=str_to_num(pre_rammo)
		gravity[id]=str_to_num(pre_gravity)
		speed[id]=str_to_num(pre_speed)
		dist[id]=str_to_num(pre_dist)
		dodge[id]=str_to_num(pre_dodge)
	}
}

public scxpm_savexp(id)
{
	new authid[32]
	get_user_name(id,authid,31)
	new vaultkey[64],vaultdata[96]
	format(vaultkey,63,"%s-scxpmpl",authid)
	format(vaultdata,95,"%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i#%i",xp[id],playerlevel[id],skillpoints[id],medals[id],health[id],armor[id],rhealth[id],rarmor[id],rammo[id],gravity[id],speed[id],dist[id],dodge[id])
	set_vaultdata(vaultkey,vaultdata)
}
vault

Code:
m1k1-scxpmpl	0#0#0#0#0#0#0#0#0#0#0#0#0
Rogacz-scxpmpl	0#0#0#0#0#0#0#0#0#0#0#0#0
Jony@-scxpmpl	0#0#0#0#0#0#0#0#0#0#0#0#0
Greli-scxpmpl	0#0#0#0#0#0#0#0#0#0#0#0#0
emotek-scxpmpl	0#0#0#0#0#0#0#0#0#0#0#0#0
III-scxpmpl	0#0#0#0#0#0#0#0#0#0#0#0#0
k@mil-scxpmpl	90#1#1#0#0#0#0#0#0#0#0#0#0
Roykurwiator	3000-scxpmpl	30#0#0#0#0#0#0#0#0#0#0#0#0
PanZiemniak-scxpmpl	0#0#0#0#0#0#0#0#0#0#0#0#0
rozbojnikolo-scxpmpl	75#0#0#0#0#0#0#0#0#0#0#0#0
sszdrg-scxpmpl	30#0#0#0#0#0#0#0#0#0#0#0#0
Miku133-scxpmpl	300#4#0#0#4#0#0#0#0#0#0#0#0
grubelolo-scxpmpl	15#0#0#0#0#0#0#0#0#0#0#0#0
Gracz-scxpmpl	60#1#1#0#0#0#0#0#0#0#0#0#0
BlakBern1998-scxpmpl	120#0#0#0#0#0#0#0#0#0#0#0#0
MK |qaZ #-scxpmpl	15#0#0#0#0#0#0#0#0#0#0#0#0
Natalcia :33-scxpmpl	30#0#0#0#0#0#0#0#0#0#0#0#0
*(Vipers)*Reynard-scxpmpl	60#0#0#0#0#0#0#0#0#0#0#0#0
dglL<!-scxpmpl	90#0#0#0#0#0#0#0#0#0#0#0#0
Please help me !
farewell is offline
Old 01-31-2016, 16:06
The_Thing>:D
This message has been deleted by The_Thing>:D.
user1690
Junior Member
Join Date: Dec 2010
Old 02-01-2016 , 18:36   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #894

==
Edit: 02/02/2016

Well, silly me didnt put the bit.inc file in the right place. A Steam friend helped out with that, plugin then compiled properly, woo!

For anyone who doesnt know, or had the same issue as me, just drop the bit.inc file in \svencoop\addons\amxmodx\scripting\include and then open the .sma file and compile it. Heck i only had to do this because downloading the .amxx directly wasnt working >.<

===



Hey all, unless im missing something here, i cant get the plugin to load if downloaded directly from here, and if i download the sma file it wont compile at all, stating 11 errors in total. Any help would be appreciated!
(none load at all, tried a few that have been uploaded by people, also, using Sven Co-op 5.01)

When i attempt to load amxx downloaded directly;

[26] unknown unknown unknown scxpm.amxx BAD LOAD


Attempting to compile via online compiler, or the one from amxx on PC;

first error:
/tmp/textr9Y2q8.sma(29) : fatal error 100: cannot read from file: "bit"
other 10 errors if the first error is removed from the code:
/tmp/textaXX1YG.sma(384) : error 017: undefined symbol "clear_player_flag"

/tmp/textaXX1YG.sma(93 : error 017: undefined symbol "is_player_flag_set"

/tmp/textaXX1YG.sma(941) : error 017: undefined symbol "clear_player_flag"

/tmp/textaXX1YG.sma(954) : error 017: undefined symbol "set_player_flag"

/tmp/textaXX1YG.sma(1250) : error 017: undefined symbol "clear_player_flag"

/tmp/textaXX1YG.sma(1299) : error 017: undefined symbol "clear_player_flag"

/tmp/textaXX1YG.sma(1946) : error 017: undefined symbol "is_player_flag_set"

/tmp/textaXX1YG.sma(2569) : error 017: undefined symbol "is_player_flag_set"

/tmp/textaXX1YG.sma(2662) : error 017: undefined symbol "set_player_flag"

/tmp/textaXX1YG.sma(2893) : error 017: undefined symbol "set_player_flag"

/tmp/textaXX1YG.sma(2927) : warning 203: symbol is never used: "has_godmode"

/tmp/textaXX1YG.sma(2927) : warning 203: symbol is never used: "loaddata"

Last edited by user1690; 02-02-2016 at 05:22.
user1690 is offline
Fidchell
New Member
Join Date: Feb 2016
Old 02-10-2016 , 07:53   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #895

Does anybody know of newer versions of this mod that extend to "19"? I'm seeing servers in Sven that have newer versions.
Fidchell is offline
jackp
Member
Join Date: Jan 2016
Location: 
Old 02-12-2016 , 17:22   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #896

Quote:
Originally Posted by Fidchell View Post
Does anybody know of newer versions of this mod that extend to "19"? I'm seeing servers in Sven that have newer versions.
these versions has been edited from this i think
jackp is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 03-09-2016 , 02:41   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #897

Quote:
Originally Posted by PythEch View Post
Some players were boosting their XP in some maps like of4a4 on my server. There is a monster which has almost infinite health and even if you use pistol and shoot it, it gives ~200 XP per shoot.

So after T-Rex's suggestion, I decided to limit maximum level that a player can gain per map. For example using default values, players who are under level 100 can level up without limitations. Others, won't level up more than 20 levels in one single map.

Added cvars:
scxpm_maxlevelup_enabled: 0 or 1 (Default: 0) => Defines this feature enabled or not. Normally it is disabled so you have to make it enabled in server.cfg etc.
scxpm_maxlevelup: 0 - 1800 (Default: 20) => Defines maximum level that players can gain per map.
scxpm_maxlevelup_limit: 0 - 1800 (Default: 100) => Defines player levels that won't get affected from this limitation.

[IMG]http://img845.**************/img845/2645/drawing31.png[/IMG]
I have problem to compile this line:

#include <bit>

Amx Studio give me a error...
and if delete it, have other compile errors... why?
I put bit.inc in Sven Co-op Dedicated Server\svencoop\addons\amxmodx\scripting\incl ude

Last edited by Tonblader; 03-09-2016 at 02:42.
Tonblader is offline
Kabuto
Senior Member
Join Date: Apr 2009
Location: Lithuania
Old 03-16-2016 , 21:14   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #898

Quote:
Originally Posted by Tonblader View Post
I have problem to compile this line:

#include <bit>

Amx Studio give me a error...
and if delete it, have other compile errors... why?
I put bit.inc in Sven Co-op Dedicated Server\svencoop\addons\amxmodx\scripting\incl ude
just compile locally not just use studio compile. but anyways i dont know how use compile at studio. sorry.
Kabuto is offline
Send a message via Skype™ to Kabuto
Gordon_Freeman_
New Member
Join Date: Jun 2016
Old 06-08-2016 , 14:58   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #899

Приветствую!
Прошу прощения, но я не знаю английского языка.

Меня интересует актуальная на сегодняшний день версия вашего плагина. Где ее можно скачать или каким образом ее можно купить?

Как собрать исходный код? Я пытался его собрать в Microsoft Visual Studio 2015 Enterprise, но у меня ничего не получилось.

Прошу вас, помогите!!!
Gordon_Freeman_ is offline
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 06-08-2016 , 15:47   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #900

D:
Сейчас бы плагины amxx компилировать в висуал студии.
Это плагин, тебе нужно найти инфу как компилить плагины амхх.
Если не разобрался, то кнопочка "Get plugin".

https://wiki.alliedmods.net/Configur..._Mod_X#Plugins
__________________
The functional way is the right way
GordonFreeman (RU) 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:27.


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