Approved Levels-XP System

Plug-ins compatibility with Zombie Escape 1.x only!


User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#61

Post by Raheem » 6 years ago

As an attempt we now using nVault system instead of fVault, This generalized also in our new version 1.2

New version of Levels-System are out which uses nVault. Please report if the levels, xp still resetting or not.

Just a tip, Stick with default settings in reunion.cfg so you get best experience with our levels system. Default reunion.cfg i speak about should be:

Code: Select all

# ========================================================
# 		REUNION CONFIGURATION
# ========================================================

#
# General rule for modifying this file:
#	DONT CHANGE ANYTHING IF YOU DONT KNOW WHAT IT MEANS!
#


# ========================================================
# 		AUTHID MANAGEMENT
# ========================================================

# ClientID types (for cid_* options)
#  1: Real (or generated by HW) steam (STEAM_xx:xx:xx)
#  2: Real (or generated by HW) valve (VALVE_xx:xx:xx)
#  3: STEAM_ by IP
#  4: VALVE_ by IP
#  5: Deprecated - client will be rejected
#  6: reserved for future use
#  7: HLTV
#  8: STEAM_ID_LAN
#  9: STEAM_ID_PENDING
#  10: VALVE_ID_LAN
#  11: VALVE_ID_PENDING
#  12: STEAM_666:88:666

# Use these options to set authid's for clients

### AUTH CONTROL ###

# For Legit Steam clients (default is real STEAM_xx:xx:xx [1])
cid_Steam = 1

# Client recognized as pending when they sucessfully authorized, but did not get steam id
# REMARK: Actually, it got steamid, but it is useless (STEAM_0:0:0 for example)
# default is STEAM_ID_PENDING [9]
cid_SteamPending = 9

# for HLTV (default is HLTV [7])
cid_HLTV = 7

# for p.47 clients that do not support unique id generation (default is STEAM_ID_LAN [8])
cid_NoSteam47 = 8

# for p.48 clients that do not support unique id generation (default is VALVE_ID_LAN [10])
cid_NoSteam48 = 8

# For players having revEmu ( >= 9.74) on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_RevEmu = 1

# For players having RevEmu 2013 on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_RevEmu2013 = 1

# For players having SteamClient 2009 / revEmu > 9.82 on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_SC2009 = 1

# For players having old revEmu on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_OldRevEmu = 1

# For players having hCupa's SteamEmu on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_SteamEmu = 1

# For players having AVSMP (Cracked Steam) on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_AVSMP = 1

# For SETTI ServerScanner
# default is STEAM_xx:xx:xx generated by IP [3]
cid_Setti = 3

# For SXEI Clients
# default is real STEAM_xx:xx:xx [1]
cid_SXEI = 1

# For players having SmartSteamEmu > 1.2.4 on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_SSE3 = 1


### AUTH SETTINGS ###

# ServerInfoAnswerType (0/1/2)
# Sets server answer type for query requests
#   0 = New style (Source Engine)
#   1 = Old Style (Fix favorites list for p.47 clients)
#   2 = Hybrid mode - Server is visible anywhere, but there are 3 packets generated for every serverinfo request
ServerInfoAnswerType = 0

# EnableSXEIdGeneration (0 / 1)
# Turns on steamid generation based on info sent by sXeI client
# Enable this ONLY if you have sXeI server installed!
EnableSXEIdGeneration = 0

# SC2009_RevCompatMode (0 / 1)
# Enable fix to make steamids generated for SC2009 compatible with revEmu
SC2009_RevCompatMode = 1

# SteamIdHashSalt (string)
# Salt string for SteamIDs hashing. Irreversibly changes SteamIDs. Applies only to SteamIDs generated by emulators.
# Should be more than 16 chars length. If string is empty, hashing is not applied.
SteamIdHashSalt = 

# SteamIdHashDProtoCompat (0 / 1)
# Use less reliable method of SteamID hashing from dproto (deprecated).
SteamIdHashDProtoCompat = 0

# EnableGenPrefix2 (0 / 1)
# Enable second prefix (0 or 1) for generated by HW authids. Reduces chance of authid collisions. Works only with configured SteamIdHashSalt.
EnableGenPrefix2 = 0

# FixBuggedQuery (0 / 1)
# Enable fix for clients with bugged serverbrowser. Prevents hanging on connect.
FixBuggedQuery = 1

# HLTVExcept_IP (ip addr)
# HLTV from this IP will be able to join the server even if cid_HLTV is set to 5 (deprecated)
HLTVExcept_IP = 127.0.0.1

# QueryFloodBanTime (1 - 60)
# Ban time in minutes for server query flooding.
QueryFloodBanTime = 10


### AUTHID PREFIXES ###

# IPGen_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by IP
IPGen_Prefix1 = 0

# IPGen_Prefix2 (int)
# STEAM_a:b:c
# second prefix (b) for authids generated by IP
IPGen_Prefix2 = 4

# Native_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by native auth method (Steam)
Native_Prefix1 = 0;

# RevEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by Steamclient 2009
SC2009_Prefix1 = 0;

# RevEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by RevEmu
RevEmu_Prefix1 = 1;

# RevEmu2013_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by RevEmu2013
RevEmu2013_Prefix1 = 1;

# OldRevEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by old RevEmu
OldRevEmu_Prefix1 = 2;

# SteamEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by SteamEmu
SteamEmu_Prefix1 = 3;

# SteamEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids assigned for AVSMP Clients (Cracked steam)
AVSMP_Prefix1 = 4;

# Setti_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids assigned for Setti server scanner
Setti_Prefix1 = 5;

# SXEI_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids assigned for sXeI clients
SXEI_Prefix1 = 6;

# SSE3_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids assigned for SSE3
SSE3_Prefix1 = 7;

# Note that banid will use steamid WITHOUT any prefixes!


# ========================================================
# 		OTHER STUFF
# ========================================================

# LoggingMode:
#   0 = None
#   1 = Console
#   2 = Log Files
#   3 = Both
LoggingMode = 2
He who fails to plan is planning to fail

User avatar
konno
Member
Member
Brazil
Posts: 44
Joined: 6 years ago
Location: Brazil
Contact:

#62

Post by konno » 6 years ago

My players' level is zeroing when changing maps can anyone help?

User avatar
TheWhitesmith
Member
Member
Morocco
Posts: 33
Joined: 6 years ago
Location: Temara/Rabat
Contact:

#63

Post by TheWhitesmith » 6 years ago

It's a common error, try my fix.
[SYA] CSGO-Mod for CS 1.6 [ Cases/Keys/Rank ][/size]
IP: 149.202.251.74:27016

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#64

Post by Raheem » 6 years ago

Will find time to post the Temp. Solution that working without problems.
He who fails to plan is planning to fail

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#65

Post by Raheem » 6 years ago

Version 1.7 OUT. I Back to code after long time of stopping i start with Levels because there is some issues still not fixed in it. My main target was to fix level, xp lose issue it's Temp. fix like coins one. And second important issue was related to the Top/Rank systems that in the Level system there was a problem in the code i write the function i write to be used in comparing every player XP, Level and sorting them from high to low it was take so long time to be processed and it was stopping server for 1, 2 seconds till it's sort and if players in nVault so much it may freeze your server forever. This because i was comparing data and right way is to compare using Pointers but you know PAWN have no pointers so my method fail. I searched for another way to use and get it. Another plugin is available for Rank/Top system you can use without problems: http://escapers-zone.net/viewtopic.php?f=15&t=2053. Report any issue if you find.

Have FUN.
He who fails to plan is planning to fail

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#66

Post by Rain1153 » 6 years ago

The levels reset at every map change and with every download is there any fixes?
LOL

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#67

Post by Raheem » 6 years ago

I'll give a try to fix it later.
He who fails to plan is planning to fail

xxGamerxx
Member
Member
Jordan
Posts: 13
Joined: 6 years ago
Contact:

#68

Post by xxGamerxx » 6 years ago

Does this level system have MySQL system?

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#69

Post by Raheem » 6 years ago

xxGamerxx wrote: 6 years ago Does this level system have MySQL system?
Right now NO, But maybe in next version be added and maybe not. It uses now: nVault.
He who fails to plan is planning to fail

xxGamerxx
Member
Member
Jordan
Posts: 13
Joined: 6 years ago
Contact:

#70

Post by xxGamerxx » 6 years ago

Raheem wrote: 6 years ago
xxGamerxx wrote: 6 years ago Does this level system have MySQL system?
Right now NO, But maybe in next version be added and maybe not. It uses now: nVault.

Did you know any good tutorial for using MySQL instead of nVault? Maybe i can do it.

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#71

Post by Raheem » 6 years ago

You can see how other plugin done it and do same as they did.
He who fails to plan is planning to fail

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#72

Post by Rain1153 » 6 years ago

Raheem when will the next version be released i can't wait for it :shock:
LOL

User avatar
Luxurious
Mod Tester
Mod Tester
Egypt
Posts: 177
Joined: 6 years ago
Location: Egypt
Contact:

#73

Post by Luxurious » 6 years ago

It Can Work For Zombie Escape V2.2 ???
DRK Zombie-Escape V1.6
IP : 81.169.153.129:27015

LosT
Member
Member
Belgium
Posts: 13
Joined: 5 years ago
Contact:

#74

Post by LosT » 5 years ago

Code: Select all

//// ze_level_systemv23.sma
//
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(105) : warning 233: symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead.
//
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(356) : error 017: undefined symbol "fvault_get_data"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(356) : error 088: number of arguments does not match definition
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(395) : error 017: undefined symbol "fvault_set_data"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(396) : error 017: undefined symbol "fvault_set_data"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(407) : error 017: undefined symbol "fvault_size"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(440) : error 017: undefined symbol "fvault_get_keyname"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(440) : error 088: number of arguments does not match definition
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(443) : error 017: undefined symbol "fvault_get_data"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(443) : error 088: number of arguments does not match definition
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(446) : error 017: undefined symbol "fvault_get_keyname"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(446) : error 088: number of arguments does not match definition
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(449) : error 017: undefined symbol "fvault_get_data"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(449) : error 088: number of arguments does not match definition
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(567) : error 017: undefined symbol "fvault_size"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(586) : error 017: undefined symbol "fvault_get_keyname"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(586) : error 088: number of arguments does not match definition
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(589) : error 017: undefined symbol "fvault_get_data"
// C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\ze_level_systemv23.sma(589) : error 088: number of arguments does not match definition
//
// 18 Errors.
// Could not locate output file C:\Users\rappe\Desktop\Compiler v 1.8.3\Compiler v 1.8.3\compiled\ze_level_systemv23.amx (compile failed).
//
// Compilation Time: 2.52 sec
// ----------------------------------------

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#75

Post by Raheem » 5 years ago

Use latest version of the level system so you won't get problems.
He who fails to plan is planning to fail

User avatar
konno
Member
Member
Brazil
Posts: 44
Joined: 6 years ago
Location: Brazil
Contact:

#76

Post by konno » 5 years ago

update?

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#77

Post by Raheem » 5 years ago

Soon.
He who fails to plan is planning to fail

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#78

Post by Raheem » 5 years ago

New version released: Image

In this version the basic thing done is fixing the nVault saving. I don't add support for MySQL yet.

I noticed this when i was testing this new version (Related to nVault Module): If vault opened and not closed and map changed or server goes down, data will be lost. I tried hard to avoid this case.

Next version will include the MySQL support, which indeed the best method for saving and the simplest ever.
He who fails to plan is planning to fail

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#79

Post by Rain1153 » 5 years ago

so will it fix the current reset problem?
LOL

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#80

Post by czirimbolo » 5 years ago

Raheem, when I updated this to 1,8v, my top ranking is not working. /myrank and /lvlrank don't work, I deleted Levels.vault and Ranks.vault but still nothing
Image

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests