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

Pokemod BuyXP


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
eskemo
Senior Member
Join Date: Dec 2008
Location: Australia
Old 01-02-2012 , 01:05   Pokemod BuyXP
Reply With Quote #1

PHP Code:
/* I found this plugin floating around so i took it i did a few updates added more then just random / more commands to be able to use it.*/
/* I will be doing more but for now this is what i have got. It only work's once*/
/* A round and to use it again you must wait till next round Just to keep game play fair.*/
/*
CVARS - 
pm_exp_cost - This is for rand/buyxp for time being (*Default - 8000*)
pm_exp_amount - This is for buyxp only (*Default - 50*)
pm_randomxp_amount - this is for random xp (*Default - 1000*)
pm_randomxp_cost - this is for random xp (*Default - 14000*)

To-Do List -

More cvar's for different xp amounts & how much it costs.
A menu to make it easier.
A raffle so every map on a certain round a player will win a amount of xp.
A bank saving technique so all the xp you get and if your on a 99/100 it can be transfered to a different class instead of going straight to the other one
*/ 


Original arthor before i started editing it :


Quote:
#define ARTHOR Zenek

Commands -

/buyxp

Requirements -

Pokemod Version 1.2.2 - 1.2.3RC2

This plugin has only been tested with :

Version 1.2.3RC2

It should work with :
1.2.2 + 1.2.3RC1

Next Update i will be adding in it working with - 2.0 Beta 1
Link will take you to the 2.0 beta plugin.
https://forums.alliedmods.net/attach...6&d=1324767241

So that is about it,
Find any bug's and could help with it please be my guest. Thanks!

So thank's to Zenek for the base.
pm_buyxp.sma = run off buyxp/randbuyxp random command(buggy)
pm_buyxp_menu = run off a menu only using buyxp command

Updates :
2/01/12 - 8:50PM
- Added a menu version (Used emps new style menu guide)
- Fixed some of the problems in scripting giving warnings
- Removed randbuyxp clcmd, buyxp still exists obviously.
- Fixed register_plugin got rid of all the old #define 's
- Still only for the earlier versions of pokemod not 2.0 yet. I assume i will need to make a second version of this for 2.0 not sure yet.
- Changed new round client print only having one instead of two.
- It won't tell you round has ended, If you'd like it back i could readd it or make a mini side plugin of it other then that it's not worth the 2 lines of spam it has achieved.
- Gone through spelling errors and fixed them.

*Fixed few mix ups *
Note : If you would like it to be more then once a round i'd be happy to remove the part's stopping itor i could possibly add a on and off cvar.
Attached Files
File Type: sma Get Plugin or Get Source (pm_buyxp.sma - 997 views - 3.5 KB)
File Type: sma Get Plugin or Get Source (pm_buyxp_menu.sma - 845 views - 4.4 KB)
__________________


Free Australian FASTDL Server PM ME

Last edited by eskemo; 01-02-2012 at 08:20. Reason: Forgot Requirements.
eskemo is offline
pacheco
Senior Member
Join Date: Jul 2011
Old 01-02-2012 , 10:00   Re: Pokemod BuyXP
Reply With Quote #2

Nice! GJ
__________________



pacheco is offline
eskemo
Senior Member
Join Date: Dec 2008
Location: Australia
Old 01-03-2012 , 06:21   Re: Pokemod BuyXP
Reply With Quote #3

Thank You.
__________________


Free Australian FASTDL Server PM ME
eskemo is offline
lobopack23
Senior Member
Join Date: Jun 2009
Location: California , United Stat
Old 01-05-2012 , 00:12   Re: Pokemod BuyXP
Reply With Quote #4

not here to flame you but heres my version

http://forums.alliedmods.net/showpos...postcount=1975
__________________
- Steam: Lobopack23 - Link
Contact me if you need any help with Pokemod.
- 2nd Generation Pokemod - Link
(new skills, items, and pokemons)
- Buy Xp - Link
lobopack23 is offline
eskemo
Senior Member
Join Date: Dec 2008
Location: Australia
Old 01-05-2012 , 03:51   Re: Pokemod BuyXP
Reply With Quote #5

This doesnt "Do" What yours does. I don't understand why you posted this.
__________________


Free Australian FASTDL Server PM ME
eskemo is offline
jackas
Senior Member
Join Date: Feb 2011
Old 01-05-2012 , 08:42   Re: Pokemod BuyXP
Reply With Quote #6

Cool!
__________________
For our new family member's in alliedmods
Quote:
Originally Posted by bo0m View Post
Ok, there are a couple ways to find this, here are about 5:
1. Search
2. Search again
3. If you don't find it, then search again.
4. After searching the 3rd time, search again
5. Then when you are tired of searching, just search some more!!!!
jackas is offline
Old 01-17-2012, 04:47
reko_o
This message has been deleted by xPaw. Reason: Flooding "thanks" posts
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 08-30-2012 , 14:48   Re: Pokemod BuyXP
Reply With Quote #7

I dont need that random xp, you should add cvar, so we can disable it. Lobopack/hib also has some more checks... For example 10s before round end check so buyxp spam wont crash the server, check 1m after loaded map,check if user is not spectator,check if pokemod is active, check if its not bot ... you should add this
__________________
luki1412 is offline
Old 08-31-2012, 06:17
Predat0r
This message has been deleted by YamiKaitou. Reason: spamming "thanks" posts
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-02-2015 , 12:46   Re: Pokemod BuyXP
Reply With Quote #8

Unapproved, don't really see the point of the plugin. If it's an addon for a mod post in the mod thread.
HamletEagle 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 05:07.


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