Raised This Month: $32 Target: $400
 8% 

CashMod | V0.0.7


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
NiQu
Veteran Member
Join Date: Nov 2009
Old 09-06-2010 , 06:53   CashMod | V0.0.7
Reply With Quote #1

[Title]
CashMod = Name of the mod.
V0.0.7 = Version of the mod.

[Credits]
Me - Pretty much everything.
Various Plugins - Taking some code from some other plugins for help.
TandborsteN - For sending me the Laserbeam codes.
Various Players - For testing it.

[Description]
CashMod is a simple mod for Hide N Seek. This was a private project of mine, i was gonna use this mod on my server but that didnt happend so im releasing it here instead. This mod is like any other XP mods such as XPMod By Exolent and MoneyMod by LaineN. The different from xpmod is that this contains alot of new items such as laserbeam and no pain shock. CashMod also contains more items than MoneyMod, but MoneyMod is private.

[History]
I was creating a mod for my clan, half-way through the completion of v0.0.1 my computer broke, luckily i had made a backup copy of it on my USB stick. I couldnt get my hands on a new computer for another couple of weeks. Finally once i got a new computer 90% of the members of my clan had left. In the lack of fun i started working on newer versions of CashMod, i was testing and testing, coding and coding, after the completion of v0.0.3 i found a clan who really wanted CashMod so i sold it for around 40€. I told the clan leader (who i sold to) to not give CashMod to anyone. The clan leader found several bugs so i fixed them and sent them CashMod v0.0.4 for free. The clan leader, disregarding what i told him, passed CashMod to his friend. As a result, the currently most up to date CashMod at the time had leaked. It was never uploaded at alliedmods but it was passed from friend to friend and i would say atleast 50 people has v0.0.4. I was furious at the clan leader. I stopped playing CS for awhile and then i found another clan. This clan wanted my mod to. The different was that i could trust the clan leader because it was a very good friend, and today we share all our plugins with eachother(this is true , i think). Anyways, i decided to fix some bugs in v0.0.4 and developed v0.0.5, once v0.0.5 was finished the clan leader aka my friend had already installed his own mod , conveniently enough also called CashMod. Bugs were discovered in his mod and we decided to switch to my CashMod on one condition, that i fixed all bugs and added all items his CashMod had. So i did, and version v0.0.6 was brought to the world. Everything was fine, but one day i decided to leave the clan because everyone was nagging on me for some reason. The clan leader decided to shutdown the clan the very same day(i guess). Ever since, CashMod has not been used on any server. Today i decided to release it to the public because i realized that i had to much freetime and i could easily offer support for this mod.

[Commands - Administrators]
cm_givecash <nick, #userid, authid> <xp> //Give cash to someone
cm_removecash <nick, #userid, authid> //Remove cash from someone

[Commands - Everyone]
say /cm
say /cash
say /cashmod
say /hnsc
say /hnscash

[Plugin API]

There is an "API" included in CashMod for anyone who wants to use it.
This can be good for stuff like creating Cash Blocks and so on.
PHP Code:
#pragma reqlib "cashmod"

/* Sets the plugin prefix */
#define PREFIX "SF: Cash Mod"

/* Sets a player's cash.
* Param 1: Player ID
* Param 2: Amount of cash */
native cm_set_user_cash(iPlayeriCash);

/* Gets a player's cash.
* Param 1: Player ID */
native cm_get_user_cash(iPlayer);

/* Get a players admin
* Param 1: Player ID */
native cm_get_user_admin(iPlayer);

/* Save a players items and cash
* Param 1: ID of the player to save */
native cm_save(iPlayer);

/* Loads a pleyers items and cash
* Param 1: ID of the player to load */
native cm_load(iPlayer);

/* If the its the players first time on server
* Returns 1 if its players first time
* Param 1: Player ID */
native cm_get_first_time(iPlayer);

/* Set if it is the players first time on server
* Param 1: Player ID
* Param 2: 1=first time */
native cm_set_first_time(iPlayerFirstTime=1); 
This is only a part of the file. A custom print stock is included.
The .INC file is NOT needed for re-compilation of CashMod, it is however required for compiling Round End Cash.

[Extras]

Post in this thread if you are getting any problems with this mod.
I will support this mod as long as people isnt complaining about it.
Feel free to give criticicm but please do not be to hard on me.
If there is anything i have forgot to write , tell me and ill do it.
I've added some extra sections to this thread, Compiling Locally contains tutorials that you should use if you dont know how to compile locally. Changelog will be the summary of every new version released. Developer Log will contain more speficic changes for each version stamped with a date.

[Compiling Locally]
Official Tutorial: http://wiki.amxmodx.org/Compiling_Pl...28AMX_Mod_X%29
Inofficial Tutorial: http://forums.alliedmods.net/showthread.php?t=130511

[Changelog]
Quote:
V0.0.7 - Bugfix #1 Released
V0.0.6 - Plugin Publicly Released

[Developer Log]

Quote:
(yyyy-mm-dd) - Added is_user_connected and is_user_alive check to certain parts of the main plugin.
Also, cm_roundend_cash.sma has to be compiled locally with cashmod.inc installed.
Attached Files
File Type: sma Get Plugin or Get Source (cashmod_v006.sma - 3400 views - 40.4 KB)
File Type: sma Get Plugin or Get Source (cm_roundend_cash.sma - 2453 views - 1.5 KB)
File Type: inc cashmod.inc (2.7 KB, 2259 views)
File Type: sma Get Plugin or Get Source (frostnades.sma - 3504 views - 33.3 KB)
File Type: sma Get Plugin or Get Source (cashmod_v007.sma - 5176 views - 40.6 KB)
__________________
My Projects
  • RoTAPI V0.0.1 ------- Private
    • Progress - [||||||||||]
  • CashMod V0.0.6 ----- Public
    • Progress - [||||||||||]
  • CashMod V0.0.7 ----- Public
    • Progress - [||||||||||]

Last edited by NiQu; 11-24-2010 at 02:27.
NiQu is offline
AirShot
Veteran Member
Join Date: Sep 2009
Location: Belgium
Old 09-06-2010 , 11:02   Re: CashMod | V0.0.6 | OpenSource | Legit
Reply With Quote #2

thanks your for releasing this, an alternative to hns xp.
Is this look like the plugin on Bolneas Team server or more on Cobra Gaming server (if you know it)?
__________________
AirShot is offline
NiQu
Veteran Member
Join Date: Nov 2009
Old 09-06-2010 , 11:06   Re: CashMod | V0.0.6 | OpenSource | Legit
Reply With Quote #3

Its the mod from Cobra-Gaming's server.
Bollnas Team's server is using MoneyMod.

Thanks
__________________
My Projects
  • RoTAPI V0.0.1 ------- Private
    • Progress - [||||||||||]
  • CashMod V0.0.6 ----- Public
    • Progress - [||||||||||]
  • CashMod V0.0.7 ----- Public
    • Progress - [||||||||||]
NiQu is offline
TheCompany
BANNED
Join Date: Aug 2010
Old 09-06-2010 , 11:12   Re: CashMod | V0.0.6 | OpenSource | Legit
Reply With Quote #4

Thanks for the release NiQu! I heard that Cobra-Gaming shuted down.

EDIT: What is cm_roundend_cash ?
TheCompany is offline
NiQu
Veteran Member
Join Date: Nov 2009
Old 09-06-2010 , 11:15   Re: CashMod | V0.0.6 | OpenSource | Legit
Reply With Quote #5

TheCompany: With that plugin enabled Surviving Terrorists will get cash every round.

Yeah, sadly.. I cant take it whne people is nagging at me 24/7.
__________________
My Projects
  • RoTAPI V0.0.1 ------- Private
    • Progress - [||||||||||]
  • CashMod V0.0.6 ----- Public
    • Progress - [||||||||||]
  • CashMod V0.0.7 ----- Public
    • Progress - [||||||||||]
NiQu is offline
TheCompany
BANNED
Join Date: Aug 2010
Old 09-06-2010 , 11:19   Re: CashMod | V0.0.6 | OpenSource | Legit
Reply With Quote #6

Ok. Thanks for the release man.
TheCompany is offline
AirShot
Veteran Member
Join Date: Sep 2009
Location: Belgium
Old 09-06-2010 , 11:20   Re: CashMod | V0.0.6 | OpenSource | Legit
Reply With Quote #7

Is the stealth abilities working? remember some bug on cobra gaming.

another question : at first level it says 10 % stealth, does it mean you're 10% invisible or you have 10% chance of being half-invisible?
__________________
AirShot is offline
EXteRmiNaToR
Senior Member
Join Date: Dec 2009
Old 09-06-2010 , 11:21   Re: CashMod | V0.0.6 | OpenSource | Legit
Reply With Quote #8

Nice job on the plugin!Looks nice!
EXteRmiNaToR is offline
TheCompany
BANNED
Join Date: Aug 2010
Old 09-06-2010 , 11:22   Re: CashMod | V0.0.6 | OpenSource | Legit
Reply With Quote #9

Quote:
Originally Posted by AirShot View Post
Is the stealth abilities working? remember some bug on cobra gaming.

another question : at first level it says 10 % stealth, does it mean you're 10% invisible or you have 10% chance of being half-invisible?

Stealth work in this one and you are 10% stealthed.
TheCompany is offline
NiQu
Veteran Member
Join Date: Nov 2009
Old 09-06-2010 , 11:22   Re: CashMod | V0.0.6 | OpenSource | Legit
Reply With Quote #10

@AirShot: It should be working, it was when i tested it. When it says 10% it should mean you are 10% invisible.

@Exterminator: Thank you.

@TheCompany: Didn't see your post, if it is working then cool and thanks for telling me. It is really hard to test stealth when no one of my friends wants to help me test it. I can't use Third Person Plugins either because they make the player transparent anyway.
__________________
My Projects
  • RoTAPI V0.0.1 ------- Private
    • Progress - [||||||||||]
  • CashMod V0.0.6 ----- Public
    • Progress - [||||||||||]
  • CashMod V0.0.7 ----- Public
    • Progress - [||||||||||]

Last edited by NiQu; 09-06-2010 at 11:27.
NiQu 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 02:27.


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