AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   CS Items 2.0/1.3 - 02/13/2010 (https://forums.alliedmods.net/showthread.php?t=73805)

JoshGomez 07-06-2008 14:04

CS Items 2.0/1.3 - 02/13/2010
 
5 Attachment(s)
CS Items is a plugin which add RPG items to Counter-Strike. The Items can give you armor, health, magicfind, speed and jump. There is four kind of items, you can find helmets, armours, gloves and shoes. You can buy and sell items, see other players and trade items which is the main point with this plugin. You find items by killing other players.

This is little diffrent from other plugins beacuse I used html for maintain the character.

In 1.4 the game can be played without the website and the password, but most of the features can't be used such as trade, sell, buy, players info and item list. However you can view your own items and drop, equip and unequip them.


If you want you can check this site and see how the script works, only when my computer is on.
steamid:STEAM_0:0:997294
password: hej
http://joshgomez.no-ip.org/csitems
http://joshgomez.no-ip.org/csitems?do=players
steam://connect/joshgomez.no-ip.org:27016


Version
Version 1.0b/0.4
- First release
1.0/0.5
- Added: Trade System (website)
- Added: 10 Items
- Lower SQL value (sql table structure)
1.1/0.5
- Fixed some bugs (plugin)
- Added cvar for item droprate
1.2/0.6
- Fixed some critical bugs (plugin & website)
- Added:10 Items
- The say commands for the website begin with ! instead for /
- The say commands for the game begin with /
- Speed and Jump are shown in percent
- Total item stats can be shown in game
1.3/0.7
- Fixed some bugs (plugin & website)
- Items found can now automatic be equiped
- If password is not set, server will send notice for help each round
- Added Online status (website)
- Rebalanced All Items
- Working with Bots
- Total Items: 59
1.4/0.8
- Fixed minor bugs (plugin & website)
- Inventory Slots reduced
- Steam ID remembered for later use (website)
- Added: Menu
- Added: Inventory Menu
- Added: Equipment Menu
1.5/0.9
- Fixed minor bugs (website)
- Better Loot Dropper
- Itemlist, Playerlist, Item & Player Info without logging in
- Added: Player Color based on item quality
- Added: *Player Equipment Icon
- Added: *Player Glow [on/off]
- Item Pack with 11 new items
1.5.1/0.9
- Adjusted Loot Dropper
1.5.2/0.9
- Adjusted Loot Dropper
1.6/0.9
- Fixed a minor bug
- Adjusted Loot Dropper
- Plugin Notice
- Edited some text messages
1.7/1.0
- Added Username as login (optional)
- Fixed minor problems (website)
Version 1.8/1.1
- Added few Quick Links (website)
- Can also drop equipped items instead of un-equipping (plugin)
- Reduced the money rate
Version 1.9/1.2
- Removed Offline Date
- Edited some text (website).
- Separated list of commands from about
- Added a command for list of commands (plugin)
- Ninety-nine percent compatible with display resolution of 1024x768 or higher
Version 2.0/1.3
- Fixed Armor Validation
- Armor have chance to take all damage
- Converted some function to hamsandwich
- Fixed some misstyped text (website)
- Removed un-needed modules

Please Check the Image for more info.

About:
http://i45.tinypic.com/2d2809x.jpg
Trade:
http://i49.tinypic.com/ojje9w.jpg
Item:
http://i49.tinypic.com/70u88g.jpg

To run the script you have to edit index.php and csitems.cfg.
When you open this files you will be able to find the filepaths.
You can also add your own items by using phpmyadmin or some other sql tool.

The SQL Data have been modified for better balance. (10-02-06)

AntiBots 07-06-2008 15:33

Re: CS Items 1.0
 
Good, I am seeing your webpage :D

hleV 07-06-2008 16:18

Re: CS Items 1.0
 
I think this plugin is worth trying it. I hope there will be more items in the future.

JoshGomez 07-06-2008 16:30

Re: CS Items 1.0
 
Ok, but you can also add items if you have phpmyadmin and it is quite easy to add them.

Reaper2331 07-06-2008 16:39

Re: CS Items 1.0
 
maybe make a guide showing how to add more items.

JoshGomez 07-06-2008 18:32

Re: CS Items 1.0
 
It is little hard to add items and run the plugin if you don't understand sql. You can check the csitems.sql to see the structure.

Code:

INSERT INTO `items` (`id`, `name`, `type`, `armor`, `health`, `magicfind`, `quality`, `speed`, `jump`) VALUES
(1, 'None', 'None', 0, 0, 0, 0, 0, 0);

You replace the the values in order to create your own item, the id have to be uniqe and after you have to make sql request.

Styles 07-07-2008 03:38

Re: CS Items 1.0
 
I didn't look through your php but, I do feel that you arn't using safe practices. The structure is bad. The class is good, but you should incldue it and create a style sheet and include it. You want to keep the main template low. You might be intrested in Smart Templates too.

Fry! 07-07-2008 07:41

Re: CS Items 1.0
 
This is very cool plugin/mod. =)

fyndler 07-12-2008 20:01

Re: CS Items 1.0
 
Wey man i tested the server and the website all works fine very cool +karma

One thing i dont get is the thing to make password i tryed csitems_password test in chat and console dident work :(


BTW how secure is the website index.php since people write their mysql pass into it and if its not so secure some people could get it and start remove everything in your database wich not is so fun if u got plenty off stuff

Maybe not even possible i dont know just wanted to know

JoshGomez 07-15-2008 08:16

Re: CS Items 1.0
 
You can only set the password in console, I don't know why it's not working for you but try use csitems_password "test".
The password is used to login on the website.

I am sure you wont be able to use the url address to hack the sql query.
There is also no global vars, I heard they are insecure so I did not use them.

I don't know but if there is a way to download the index.php then they could steal the sql password and the username.
To prevent the hacker from stealing everything from your database you should make a new user and password for only this plugin.


All times are GMT -4. The time now is 17:49.

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