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

Release Titles (1.1-alpha)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-10-2013 , 08:30   Titles (1.1-alpha)
Reply With Quote #1

[Store] Titles (1.1-alpha)


Description:
  • This plugin allows players to buy custom titles in the store. Titles are chat tags that are added to your name when you send a chat message.
  • The most recent source code is available at this project's GitHub repository: https://github.com/alongubkin/store-titles.
Requirements:Features:
  • Compatibility - This plugin doesn't break other plugins that add tags or change colors, as long as they use Simple Chat Processor.
  • Cross game support - Each title has 2 versions: Source 2009 version, and other games version. This allows you to use more colors in games like TF2 and CS:S.
Installation:

Download the attached store-titles.zip archive and extract to your sourcemod folder intact. Then open your store web panel, navigate to Import/Export System under the Tools menu, and import configs/store/json-import/title.json

Adding more titles:

You can use the web panel to add skins. Open the web panel, navigate to Add New Item under the Items menu. In type and loadout_slot, type title. Change name, display_name, description and attrs to customize the new title.

An attrs value should look like:

Code:
{
    "text": "{green}Sir",
    "colorful_text": "{fullred}Sir"
}
The colorful_text version will be used in games like TF2 and CS:S, where more colors is supported. You can use color tags from here: https://www.doctormckay.com/morecolors.php
Attached Files
File Type: zip store-titles-1.1-alpha.zip (47.7 KB, 5045 views)
__________________

Last edited by alongub; 02-17-2013 at 11:39.
alongub is offline
hasta
Senior Member
Join Date: Aug 2004
Location: Ukraine, Kyiv
Old 02-12-2013 , 02:55   Re: [Store] Titles (1.0.7-alpha)
Reply With Quote #2

Quote:
L 02/12/2013 - 09:54:19: [SM] Native "json_typeof" reported: Invalid <JSON Object> handle 0 (error 4)
L 02/12/2013 - 09:54:19: [SM] Displaying call stack trace for plugin "store/store-titles.smx":
L 02/12/2013 - 09:54:19: [SM] [0] Line 1031, C:\Users\Alon\Documents\GitHub\store-titles\scripting/include/\smjansson.inc::json_object_get_string()
L 02/12/2013 - 09:54:19: [SM] [1] Line 119, C:\Users\Alon\Documents\GitHub\store-titles\scripting\store-titles.sp::LoadItem()
L 02/12/2013 - 09:54:19: [SM] Native "json_typeof" reported: Invalid <JSON Object> handle 0 (error 4)
L 02/12/2013 - 09:54:19: [SM] Displaying call stack trace for plugin "store/store-titles.smx":
L 02/12/2013 - 09:54:19: [SM] [0] Line 1031, C:\Users\Alon\Documents\GitHub\store-titles\scripting/include/\smjansson.inc::json_object_get_string()
L 02/12/2013 - 09:54:19: [SM] [1] Line 119, C:\Users\Alon\Documents\GitHub\store-titles\scripting\store-titles.sp::LoadItem()
Code:
SM] Listing 39 plugins:
           01 "Fun Commands" (1.5.0-dev+3777) by AlliedModders LLC
           02 "Players Votes" (1.5.0) by The Resident, pZv!
           03 "[Store] Shop" (1.0.7-alpha) by alongub
           04 "[Store] Logging" (1.0.7-alpha) by alongub
           05 "[Store] Inventory" (1.0.7-alpha) by alongub
           06 "[Store] Loadout" (1.0.7-alpha) by alongub
           07 "[Store] Distributor" (1.0.7-alpha) by alongub
           08 "[Store] Titles" (1.0.7-alpha) by alongub
           09 "[Store] Core" (1.0.7-alpha) by alongub
           10 "[Store] Backend" (1.0.7-alpha) by alongub
           11 "Simple Chat Processor (Redux)" (1.1.4-fix2) by Simple Plugins, Mini
           12 "SourceBans" (1.4.10) by SourceBans Development Team
           13 "Simple Chat Colors" (2.0.0) by Simple Plugins
           14 "Advertisements" (0.5.5) by Tsunami
           15 "Admin Help" (1.5.0-dev+3777) by AlliedModders LLC
           16 "Server Redirector" (1.2.0.0) by Wazz
           17 "Melee" (0.3.91) by linux_lover
           18 "SourceMod Radio" (1.0.0.13) by dubbeh
           19 "Trade Chat" (1.5) by Luki
           20 "Basic Comm Control" (1.5.0-dev+3777) by AlliedModders LLC
           21 "Admin Menu" (1.5.0-dev+3777) by AlliedModders LLC
           22 "AFK Manager" (2.8) by Liam
           23 "Advanced Client Redirect" (1.0) by Olly/Tobi
           24 "Fun Votes" (1.5.0-dev+3777) by AlliedModders LLC
           25 "TeamSwitch" (1.3) by MistaGee
           26 "Anti-Flood" (1.5.0-dev+3777) by AlliedModders LLC
           27 "SuperLogs: TF2" (1.4.6) by psychonic
           28 "HLstatsX CE Ingame Plugin" (1.6.19) by psychonic
           29 "Basic Chat" (1.5.0-dev+3777) by AlliedModders LLC
           30 "Sound Commands" (1.5.0-dev+3777) by AlliedModders LLC
           31 "Reserved Slots" (1.5.0-dev+3777) by AlliedModders LLC
           32 "Group Tags" (1.0.0) by Dr. McKay
           33 "TF Max Players" (4.8) by Nican132,cadavor,JameLess,Thraka
           34 "Client Preferences" (1.5.0-dev+3777) by AlliedModders LLC
           35 "Admin Stealth" (1.2) by necavi
           36 "Vote Mute/Vote Silence" (1.0.105) by <eVa>Dog/AlliedModders LLC
           37 "Basic Commands" (1.5.0-dev+3777) by AlliedModders LLC
           38 "Player Commands" (1.5.0-dev+3777) by AlliedModders LLC
           39 "Basic Votes" (1.5.0-dev+3777) by AlliedModders LLC
Code:
[SM] Displaying 12 extensions:
         [01] Automatic Updater (1.5.0-dev+3777): Updates SourceMod gamedata files
         [02] Webternet (1.5.0-dev+3777): Extension for interacting with URLs
         [03] TF2 Tools (1.5.0-dev+3777): TF2 extended functionality
         [04] BinTools (1.5.0-dev+3777): Low-level C/C++ Calling API
         [05] SDK Tools (1.5.0-dev+3777): Source SDK Tools
         [06] Top Menus (1.5.0-dev+3777): Creates sorted nested menus
         [07] Client Preferences (1.5.0-dev+3777): Saves client preference settings
         [08] SQLite (1.5.0-dev+3777): SQLite Driver
         [09] Regex (1.5.0-dev+3777): Provides regex natives for plugins
         [10] SMJansson (2.3.1/3): JSON parser/writer
         [11] SDK Hooks (1.5.0-dev+3777): Source SDK Hooks
         [12] MySQL-DBI (1.5.0-dev+3777): MySQL driver implementation for DBI
hasta is offline
Send a message via ICQ to hasta
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-16-2013 , 07:39   Re: [Store] Titles (1.1-alpha)
Reply With Quote #3

1.1-alpha (16 February 2012)
  • Added a JSON import file instead of the SQL dump to use in the web panel.
  • Fixed a bug where database requests were made before it is ready.
__________________
alongub is offline
hasta
Senior Member
Join Date: Aug 2004
Location: Ukraine, Kyiv
Old 02-17-2013 , 14:30   Re: Titles (1.1-alpha)
Reply With Quote #4

why do u del mysql dump?
i have't php 5.4 and cant install web panel
i have 5.2.17
i think its badly for many users
hasta is offline
Send a message via ICQ to hasta
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-17-2013 , 14:47   Re: Titles (1.1-alpha)
Reply With Quote #5

Quote:
Originally Posted by hasta View Post
why do u del mysql dump?
i have't php 5.4 and cant install web panel
i have 5.2.17
i think its badly for many users
We'll add PHP 5.2 compatibility soon.
__________________
alongub is offline
hasta
Senior Member
Join Date: Aug 2004
Location: Ukraine, Kyiv
Old 02-17-2013 , 15:45   Re: Titles (1.1-alpha)
Reply With Quote #6

tnx
может ты по русски еще понимаешь?

Last edited by hasta; 02-17-2013 at 15:45.
hasta is offline
Send a message via ICQ to hasta
zloykif
Member
Join Date: May 2010
Old 02-18-2013 , 06:04   Re: Titles (1.1-alpha)
Reply With Quote #7

how about, ability set color for each letter
__________________
zloykif is offline
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-18-2013 , 06:53   Re: Titles (1.1-alpha)
Reply With Quote #8

Quote:
Originally Posted by zloykif View Post
how about, ability set color for each letter
You can already do that.

Code:
"colorful_text": "{fullred}S{cyan}i{blue}r"
__________________
alongub is offline
zloykif
Member
Join Date: May 2010
Old 02-18-2013 , 07:00   Re: Titles (1.1-alpha)
Reply With Quote #9

thank you, though colorful_text support 1 color ^^
__________________
zloykif is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 02-18-2013 , 17:49   Re: Titles (1.1-alpha)
Reply With Quote #10

I just setup titles to test them and everybody started off with Overlord tag.
__________________
cw main:

cw speedruns:
vodka00 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:03.


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