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

Subplugin Submission [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.


Post New Thread Reply   
 
Thread Tools Display Modes
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 04-21-2015 , 02:39   Re: [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.
Reply With Quote #31

Quote:
Originally Posted by Fabrizzo View Post
yokomo , I liked your plugin very much. I tested it on my Couter-Strike 1.6 server (Zombie Plague 4.3 Fix5a +16innovations Mod), and I noticed some bugs/minuses:
1. when new round comes, timer is 18 seconds before somebody is infected (in zombie plague I set 15 seconds, it became 18 after I added your plugin on server);
2. saving is only by Steam id and in nvault.
3. multilingual support (if you want I can help with Russian)
It would be great if you add a possibility to save Exp by Nick and in MySql, and a cvars, for example, something like this:
save_type 1 // 0 - by steam id, 1 - by nick
data_base 1 // 0 - nvault, 1 - mysql
To help you a bit - I make an attachment file zp_yaab.sma , there is a very good saving in MySql base and save type is by Nick. I hope in the following version you will add manshioned earlier recommendations for you how to make your plugin better.
Sorry for my bad English if it is so, I am from Ukraine
Hi.

1. I don't know how to code for SQLite or MySQL. I never code for SQLite & MySQL yet.
2. If saved by SQLite or MySQL then i need to change the top10 and ranking method too.
3. Why need MySQL? do you plan to run this plugin on multiple servers?
4. About saving by name.. i will try to make it, i bet it need a register system. But please don't put any hope on it, cause it need many modifications.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019

Last edited by yokomo; 04-21-2015 at 02:39.
yokomo is offline
Fabrizzo
New Member
Join Date: Dec 2013
Location: Ukraine
Old 04-21-2015 , 07:01   Re: [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.
Reply With Quote #32

Quote:
Originally Posted by yokomo View Post
Hi.

1. I don't know how to code for SQLite or MySQL. I never code for SQLite & MySQL yet.
2. If saved by SQLite or MySQL then i need to change the top10 and ranking method too.
3. Why need MySQL? do you plan to run this plugin on multiple servers?
4. About saving by name.. i will try to make it, i bet it need a register system. But please don't put any hope on it, cause it need many modifications.
Hi. I thought that you know how to make myqsl saving. Ok, if you don't know - all is ok. nvault is comfortable too, I just manshioned sql because saving is more safer. But I attached a file - I hoped you could try to take the code from that file and add that to your plugin. I think a person who can create a plugin can make a bit also efforts and to think a bit what code you have to copy from the file and add to yours.
And also, about the delay in 3 seconds that I manshioned in Number 1 in my previous message, please think about it too.
If you cannot add sql support, then please add a support of choosing how to save: by Nick or Steam id. Thank you for attention.
Fabrizzo is offline
Send a message via Skype™ to Fabrizzo
Fresh522
Member
Join Date: Mar 2015
Location: Bulgaria
Old 04-21-2015 , 15:25   Re: [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.
Reply With Quote #33

Quote:
Originally Posted by yokomo View Post
Hi.

1. I don't know how to code for SQLite or MySQL. I never code for SQLite & MySQL yet.
2. If saved by SQLite or MySQL then i need to change the top10 and ranking method too.
3. Why need MySQL? do you plan to run this plugin on multiple servers?
4. About saving by name.. i will try to make it, i bet it need a register system. But please don't put any hope on it, cause it need many modifications.
You dont need to make register system because people can use this plugin https://forums.alliedmods.net/showthread.php?t=171460 if they want to save by nick this plugin will protect their nick with password .
Fresh522 is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 04-21-2015 , 16:19   Re: [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.
Reply With Quote #34

Quote:
Originally Posted by Fabrizzo View Post
Hi. I thought that you know how to make myqsl saving. Ok, if you don't know - all is ok. nvault is comfortable too, I just manshioned sql because saving is more safer. But I attached a file - I hoped you could try to take the code from that file and add that to your plugin. I think a person who can create a plugin can make a bit also efforts and to think a bit what code you have to copy from the file and add to yours.
And also, about the delay in 3 seconds that I manshioned in Number 1 in my previous message, please think about it too.
If you cannot add sql support, then please add a support of choosing how to save: by Nick or Steam id. Thank you for attention.
I made a separate version for saving by user name. It also has build-in registration system.
BOT data is auto save, they don't need any password because they are BOT lol.
New natives:
xp_is_user_registered(id) -- Return whether user has register their name. (mean user data existed)
xp_is_user_login(id) -- Return whether user has logged-in into their account. (mean user use a correct password)

Feel to test and give result here.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Fresh522
Member
Join Date: Mar 2015
Location: Bulgaria
Old 04-21-2015 , 18:10   Re: [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.
Reply With Quote #35

Quote:
Originally Posted by yokomo View Post
I made a separate version for saving by user name. It also has build-in registration system.
BOT data is auto save, they don't need any password because they are BOT lol.
New natives:
xp_is_user_registered(id) -- Return whether user has register their name. (mean user data existed)
xp_is_user_login(id) -- Return whether user has logged-in into their account. (mean user use a correct password)

Feel to test and give result here.
I tested it has no bugs . Works fine ! Good work

Last edited by Fresh522; 04-21-2015 at 18:33.
Fresh522 is offline
SergiCruz
Senior Member
Join Date: Mar 2012
Location: Andalucía, España
Old 04-25-2015 , 14:01   Re: [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.
Reply With Quote #36

[ZP4.3 + XPMOD] Extra item: Damage multiplier for one round

Cvars:
xp_extra_multidmg_level 10 // Minimum level for using the item
xp_extra_multidmg_value 2 // Damage multiplier (Integer!!)
xp_extra_multidmg_cost 20 // Cost of item

------

I'm sorry for not being able to do plugins for zp5.0, as I use 4.3, I'm used to it only.

I've got a suggestion: a forward to be called when a player receive experience. (for example, to make it double, triple, to block it...)

Register system works perfectly, I think it's the best for LAN games.
Attached Files
File Type: sma Get Plugin or Get Source (xp_extra_multidmg.sma - 697 views - 2.3 KB)
__________________
PodBot waypointer. Feel free to ask for waypoints for zm_ maps.
SergiCruz is offline
Send a message via MSN to SergiCruz
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 04-28-2015 , 00:07   Re: [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.
Reply With Quote #37

Saving method by NAME.

Features:
- All features from https://forums.alliedmods.net/showthread.php?t=260780
- Build-in register name system.

Natives & Forwards:
Spoiler


Changes Log:
Spoiler


Files:
zpexpmod.inc -- include files.
zp_exp_stats_name_reg.sma -- main plugin.
xp_set_add_fw_test.sma -- example plugin.
Attached Files
File Type: inc zpexpmod.inc (3.0 KB, 255 views)
File Type: sma Get Plugin or Get Source (zp_exp_stats_name_reg.sma - 822 views - 38.0 KB)
File Type: sma Get Plugin or Get Source (xp_set_add_fw_test.sma - 783 views - 1.9 KB)
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
SergiCruz
Senior Member
Join Date: Mar 2012
Location: Andalucía, España
Old 05-05-2015 , 13:12   Re: [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.
Reply With Quote #38

[ZP4.3|EXP] Class: Mutant / Regenerator
I made a zombie class based on this code from you (https://forums.alliedmods.net/showthread.php?t=159424).
It's adapted to this level API

Features:
++ Level => --Gravity ++Speed ++base health ++Regeneration (amount and maximum health that can be recovered)

Cvars:
Have a look at sma file

Credits:
Yokomo: Original regeneration code
Attached Files
File Type: sma Get Plugin or Get Source (xp_zclass_mutant.sma - 623 views - 7.7 KB)
__________________
PodBot waypointer. Feel free to ask for waypoints for zm_ maps.

Last edited by SergiCruz; 05-05-2015 at 13:12.
SergiCruz is offline
Send a message via MSN to SergiCruz
pupil0888
Member
Join Date: Sep 2012
Location: Venezuela
Old 06-16-2015 , 14:58   Re: [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.
Reply With Quote #39

how add class zombie in hud

pupil0888 is offline
Send a message via MSN to pupil0888
Mark.uG
AlliedModders Donor
Join Date: Oct 2014
Old 03-21-2016 , 13:21   Re: [ZP43Fix5a|ZP50] Addon: Stats, ExpMod & Ranking System.
Reply With Quote #40

Quote:
Originally Posted by yokomo View Post
Nice to see someone use this API, i will make some plugins using this API too (if i have free time).

**Edited**
I've edit and optimize your plugin, not much just a bit. Add support for ZP50 too.

To compile for ZP43 you need to comment #define USE_ZP50
make it //#define USE_ZP50

Can you add a check or something?

I noticed with the ammo packs if you leave server and come back they get more ammo packs.

So if its set to

new Ammopacks[MAX_LEVEL] =
{
0, // 0
10, // 1
20, // 2
30, // 3
40, // 4
50, // 5

and they are level 5 everytime they disconnect and reconnect they get 50 ammopacks.
is there away to map it on map change only or something?
Mark.uG is offline
Old 08-01-2016, 23:23
NsaGcl
This message has been deleted by NsaGcl. Reason: bad write
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 11:05.


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