XP Mod 1.2.4
5 Attachment(s)
This is the last release , im not updating this anymore
everyone who wants the lastest updates then pm me. And thx for your supporting XP Mod Version 1.2.4 This is my first Plugin so help me if there is anything wrong. Description: This plugin lets the user get xp for killing players , and for every level there is an amount of xp needed , i added 45 levels but you can easy add more. I made this plugin for i saw a req for a plugin like this and here you go. Its easy to edit and i think this is a good base. I tested it just in cs 1.6 but idk if it would work on the others (maybe can someone test?). This plugin have deathmatch mode too , you can turn it on and off. In this plugin you add a shop too , in the shop you can buy skills , every skill level costs 1 x Skill Level = Points , there is 45 levels in every skill and you get 5 points every level. For more info about upgrades write /mainmenu. In this plugin you can us either sql or nvault to save/load data. In this plugin there is webstats too. nVault Installation: 1- Download the XP-Mod.sma and compile it (or just download the amxx file from attachments) 2- Open cstrike\addons\amxmodx\plugins and put the amxx file there 3- Open cstrike\addons\amxmodx\configs\plugins.ini and write this there. Code:
XP-Mod.amxx debug4- Download sound.zip and place the sound folder in your cstrike folder so it be: cstrike\sound\xpmod\all onther sounds here 5- Put xpmod.txt in cstrike\addons\amxmodx\data\lang 6- Run and test it. SQLx Installation: 1- Download the XP-Mod.sma file and add it to cstrike\addons\amxmodx\scripting 2- Open the file and find Code:
#define USE_NVAULTCode:
//#define USE_NVAULTCode:
new Host[] = ""Change user to the sql user Change pass to the sql user password Change Db to the sql database name example: Code:
new Host[] = "localhost"and open cstrike\addons\amxmodx\plugins and place it there 5- Open cstrike\addons\amxmodx\configs\plugins.ini and write this there. Code:
XP-Mod.amxx debug6- Download sound.zip and place the sound folder in your cstrike folder so it be: cstrike\sound\xpmod\all onther sounds here 7- Put xpmod.txt in cstrike\addons\amxmodx\data\lang 8- Run and test it. Webstats Installation: 1- Download the webstats.zip 2- open the Config.php and edit the following: SQL_HOST - the sql host SQL_USER - the sql username SQL_PASS - the sql username password SQL_DB - the sql databse Code:
SELECT * FROM xpmod - what table (change xpmod to your table name) ORDER BY xp - what it orders the players on (xp , lvl , points or anything else) DESC LIMIT 15 - How much players do you want it to show (15) Now copy all files to your webhost/website Requirements: nVault version: nvault fun cstrike fakemeta hamsandwich engine SQLx version: sqlx fun cstrike fakemeta hamsandwich engine Cvars: Code:
SaveXP - Turns saving on and off (default on = 1)Commands: Chat commands: Code:
say /reset - resets everythingCode:
help - shows the help menuLanguages: [EN] - By modernwarfare (me) [PL] - By MmikiM [NL] - By drekes [SV] - By modernwarfare (me) [ES] - By Korxu [BG] - By DeLiriuM [TR] - By quLeryuzz [SK] - By sulinek [FR] - By ANTICHRISTUS [DA] - By DoPe^ [RO] - By Nur56 [IT] - By aaarnas More Languages soon. ToDo List: [list][*]Fix any bugs or problems if there is any.[*]Add more Languages[*]Make a better webstats template and player searching[*]Add Ranking |
Re: XP Mod 1.0.0
I'd remove this unless you want to be flamed.
|
Re: XP Mod 1.0.0
Quote:
do you really think i care? im just helping new ppls because no one like helped me with out some users (im not telling any names) so i have felt how when nobody cares and nobody helps you so i want help new beginners and i dont care if anyone flamed |
Re: XP Mod 1.0.0
Quote:
|
Re: XP Mod 1.0.0
Quote:
ok ok shut dont talk about flaming |
Re: XP Mod 1.0.0
Cool.
You can add a shop and: XP_per_he - Amount xp gained per grenade kill |
Re: XP Mod 1.0.0
PHP Code:
PHP Code:
|
Re: XP Mod 1.0.0
Quote:
Quote:
|
Re: XP Mod 1.0.5
Quote:
You should look into more tutorials & understand how everything works if you're releasing a plugin. Not copy-paste parts from tutorials & edit that a little bit. |
Re: XP Mod 1.0.5
Quote:
but i took some lines and etc but i just want the begginers to have a good base :) |
Re: XP Mod 1.0.5
Just so you know its Credits, not Creadits. ^^
|
Re: XP Mod 1.0.5
Quote:
oh thx edited what you think about the plugin? |
Re: XP Mod 1.0.5
Quote:
|
Re: XP Mod 1.0.5
Quote:
but i realse anyway UPDATED |
Re: XP Mod 1.0.6
lmfao.... its funny when i can look thorough the code and even read the same function names that are in battle field...
Functions that match mine: ShowHud, HudShow (Same thinking ent to update player hud) All of my Bomb functions My hostage function. and that was just a quick scroll... Your indenting is horrible... I'm all for you testing and all that.. but really you should learn how to code first..... we all start some where... i was like you once.. i c/p'd got called on it and got pissed and now look... My C/P (First Plugin) https://forums.alliedmods.net/showthread.php?t=58826 My New Virtual Reality http://forums.alliedmods.net/showthread.php?p=1146548 |
Re: XP Mod 1.0.6
Quote:
Quote:
its why i have that :) thx for the codes helped me alot and i use your plugin :) |
Re: XP Mod 1.0.6
Quote:
Code:
Last edited by modernwarfare; Today at 07:13 PM. Reason: Update 1.0.6 |
Re: XP Mod 1.0.6
Quote:
yes i know sorry forgot but if you see i wrote some codes from plugins and tuts from alliedmodders |
Re: XP Mod 1.0.6
Quote:
still this plugin is like 99% copy/paste... which will never get approved. |
Re: XP Mod 1.0.6
Quote:
no i dont. i dont care if this plugin didnt get approved. i made this for all begginers that needs it. ----------------------------------------------------------------- Code:
1.0.7: |
Re: XP Mod 1.0.6
Quote:
|
Re: XP Mod 1.0.7
You say you're trying to "create a base for beginners", but if beginners came to this to learn how to script they would undoubtedly fail miserably.
You should also never release a plugin if you don't care if it gets approved or not, then you're wasting your own and everyones time. Before you try to help beginners learn, you should learn some yourself. Also, this is not meant to be mean, a dick, or flaming. |
Re: XP Mod 1.0.6
Quote:
when you was like me you did the same thing im really mad :( |
Re: XP Mod 1.0.7
Quote:
Quote:
|
Re: XP Mod 1.0.7
Quote:
lol do you really think that is a nice way? |
Re: XP Mod 1.0.7
Quote:
|
Re: XP Mod 1.0.7
Quote:
but what i need to the plugin to get approven? I readed the thread about approving plugins but i really dont understand why this wouldnt get approved? |
Re: XP Mod 1.0.7
Quote:
Quote:
|
Re: XP Mod 1.0.7
Quote:
Your indenting is all off. you obv dont understand how things work... like i said i idid the same thing you did for my first plugin as you can see the link in my previous post. Yes this is open source and free for everyone to look at but taking the exact same stuff from other plugins and putting it in one. isn't good pratice. Also... When i named my variables and fucntions the way did.. when you copied and pasted them you changed them... g_iNumber = global integer.. g_bBombPlanted = global bomb planted Boolean it makes it easier for others to see what each variable is i = Integer b = bool sz = string fl = float though not required but good practice. |
Re: XP Mod 1.0.7
ok thx guys
i think this will be moved to trash :( but i will still use this in one of my server :) and will still like adding more upgrades and etc.. And doc-holiday why you dont answer at your battle field plugin? I gave some ideas and etc.. |
Re: XP Mod 1.0.7
Quote:
|
Re: XP Mod 1.0.7
These plugins are open source for a reason. As long as he gives credit for other peoples codes there should be no problem.
Also You can feel free to use this. It will allow you to give and take xp away from people if you're an admin. Code:
register_concmd( "amx_givexp", "xp_givexp", ADMIN_BAN, "<target> <amount>" ) |
Re: XP Mod 1.0.7
Quote:
, and trying it then will add and give credits :) |
Re: XP Mod 1.0.7
We don't care if he uses our code... but a pure copy and paste from twenty plugins isn't coding..... and releasing a plugin that has been done beforeobv cuz he doesn't script.... means he can't support it. And the code is just copy and pastes from other plugins.... I don't care if he uses the code but to release a copy and paste of other plugins and calling it your own is just dumb.... use the code to learn from and make up your own.
|
Re: XP Mod 1.0.7
Quote:
i never said it was mine , i gave credits idiot! |
Re: XP Mod 1.0.8
I think a moderator needs to move this to "scripting help".
|
Re: XP Mod 1.0.8
Quote:
|
Re: XP Mod 1.0.8
|
Re: XP Mod 1.0.8
Quote:
|
Re: XP Mod 1.0.8
i saw that before posting this
i know it maybe go to trash :( just for you |
| All times are GMT -4. The time now is 06:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.