AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Store (https://forums.alliedmods.net/forumdisplay.php?f=157)
-   -   Release Chat (1.1-Alpha) (https://forums.alliedmods.net/showthread.php?t=219362)

thetwistedpanda 06-27-2013 22:49

Chat (1.1-Alpha)
 
1 Attachment(s)
[Store] Chat (1.1-Alpha)
Description:
  • This plugin is a combination of Titles, Name Colors, and Chat Colors as it was the easiest way for me to get all three plugins to play nicely together.
  • Titles is an exact copy/paste of the one provided by alongub, and Name / Chat colors are a combination of the two plugins with little modifications.
Requirements:Features:
  • Compatibility - This plugin probably will not play nice with any other plugin using Simple Chat Processor to change message colors.
  • DO NOT USE THIS PLUGIN WITH TITLES, NAME COLORS, OR CHAT COLORS.
Installation:
  • Please follow the installation instructions for each respective plugin, but instead of having three different .smx files, you'll just use store-chat.smx provided.
Adding more chat colors:
  • Please follow the instructions for each respective plugin when adding new titles, chat colors, or name colors.

Kriax 06-28-2013 08:15

Re: Chat (1.1-Alpha)
 
Oh, a word to say.

I looked forward to that you can get these three plugins together.

Thank you;)

Spoiler

Kriax 06-29-2013 07:38

Re: Chat (1.1-Alpha)
 
Hello,

I think this has already been thought but why not ensure that we can give color to the title?

Sorry, fail edit ^^"

Kriax.

Spoiler

thetwistedpanda 06-29-2013 11:39

Re: Chat (1.1-Alpha)
 
It's quite possible to do, but due to the original Titles providing the color, it'd cause compatibility issues adding the ability to color them. Would eitherh ave to create new titles or edit all existing titles to remove the color.

alongub 07-01-2013 12:49

Re: Chat (1.1-Alpha)
 
I think we should deprecate Titles, Chat Colors, and Name Colors and make this the main plugin for chat-related items.

thetwistedpanda 07-01-2013 12:54

Re: Chat (1.1-Alpha)
 
Sounds like a plan; I'll update this sometime this week to add Title Colors, then fix the original paste with indepth instructions for everything.

htcarnage 07-27-2013 21:18

Re: Chat (1.1-Alpha)
 
How would I go about quickly changing the price of the chat colors? They are all currently set at 200 credits and I'd like to change that without going through all 150 of them one by one

thetwistedpanda 07-27-2013 21:39

Re: Chat (1.1-Alpha)
 
You could issue an UPDATE query after they're uploaded.

PHP Code:

UPDATE `store_itemsSET `price` = `price` + 150 WHERE `type` = 'chatcolor' 


htcarnage 07-27-2013 22:34

Re: Chat (1.1-Alpha)
 
Thank you! Precisely what i was looking for

htcarnage 07-28-2013 14:40

Re: Chat (1.1-Alpha)
 
is there an sql query i could run that would give a user (myself) access to all store items?

thetwistedpanda 07-28-2013 14:59

Re: Chat (1.1-Alpha)
 
It's likely possible, but I'm not sure how to do it within SQL itself as I'm not familiar with it outside of SM usage. You'd need to select `id` from `store_items` and for each `id`, do an insert/update of the `id` as `item_id` into `store_users_items` under your `user_id`.

MineCleric 07-28-2013 17:00

Re: Chat (1.1-Alpha)
 
Start title

Can we get start title for new user ingam to the server. Like newbie?

thetwistedpanda 07-28-2013 17:06

Re: Chat (1.1-Alpha)
 
That's not within the scope of this plugin MineCleric; titles are meant to be purchased and worn optionally. You could get another plugin that forces Newbie of no item is equipped though, or one that gives the newbie title if they do not have it yet and automatically equips it.

MineCleric 07-28-2013 17:09

Re: Chat (1.1-Alpha)
 
are there some plugins for that?
Quote:

one that gives the newbie title if they do not have it yet and automatically equips it.

TugaGamingcom 09-12-2013 06:48

Re: Chat (1.1-Alpha)
 
Hey I have installed the 3 plugins: titles, name colors e chat colors. How can I delete it and install the chat plugin?

Arrow768 09-12-2013 12:39

Re: Chat (1.1-Alpha)
 
Quote:

Originally Posted by TugaGamingcom (Post 2033145)
Hey I have installed the 3 plugins: titles, name colors e chat colors. How can I delete it and install the chat plugin?

Maybe by deleting them (pressing the remove button on your keyboard; if you are using windows) or moving them to the disabled folder ?

TugaGamingcom 09-12-2013 15:36

Re: Chat (1.1-Alpha)
 
Quote:

Originally Posted by Arrow768 (Post 2033265)
Maybe by deleting them (pressing the remove button on your keyboard; if you are using windows) or moving them to the disabled folder ?

You are so fking smart! OMG!!! I did that and you know what happened? At the !shop menu I had 2 of name colors, 2 of titles and 2 of chat colors! You know what I did? I went to the database that is connected with the store plugin, deleted the categories of name colors, chat colors and titles, then I disabled the plugins and then I installed the chat plugin! And you know what? It is right! I did it! But you, smart guy, you are really smart, and you fcked my store :) So smart, maybe an informatic engineer.

Arrow768 09-12-2013 16:45

Re: Chat (1.1-Alpha)
 
Let me format your post correctly so it is easier to read it

Quote:

Originally Posted by TugaGamingcom (Post 2033340)
You are so fking smart! OMG!!!

I did that and you know what happened?

At the !shop menu I had 2 of name colors, 2 of titles and 2 of chat colors!

You know what I did?

I went to the database that is connected with the store plugin, deleted the categories of name colors, chat colors and titles, then I disabled the plugins and then I installed the chat plugin!

And you know what?

It is right!

I did it!

But you, smart guy, you are really smart, and you fcked my store :)

So smart, maybe an informatic engineer.

I dont get what you want to tell !

On line 7 of the message you try to tell that it worked ?!
And on line 9 you want to tell that your store installation is not working ?!
Please explain what you mean by "fcked" and how it is "fcked"

And could you tell me what a "informatic engineer" is ?!

thetwistedpanda 09-12-2013 16:57

Re: Chat (1.1-Alpha)
 
Quote:

Originally Posted by thetwistedpanda (Post 1978994)
Installation:
  • Please follow the installation instructions for each respective plugin, but instead of having three different .smx files, you'll just use store-chat.smx provided.

Isn't anything difficult, hence the reply you received.

serpentine 09-14-2013 19:19

Re: Chat (1.1-Alpha)
 
Possible to have the titles/colors show when a client uses voice commands? Shows the team color when they do so now.

thetwistedpanda 09-15-2013 11:58

Re: Chat (1.1-Alpha)
 
Client side.

foxyloxy 12-30-2013 03:06

Re: Chat (1.1-Alpha)
 
does this still work on cs:go ?

amohanlall32 03-02-2014 18:58

Re: Chat (1.1-Alpha)
 
Is there a way I can add custom titles to the store?

I purchase custom title item in the shop, I get to write a custom title in chat, and choose a color for it?

extremeg 05-18-2014 15:36

Re: Chat (1.1-Alpha)
 
This error comes in my log from my csgo server, from the plugin store-chat.smx. Do you can fix this error ?

L 05/18/2014 - 19:41:46: [SM] Native "json_typeof" reported: Invalid <JSON Object> handle 0 (error 4)
L 05/18/2014 - 19:41:46: [SM] Displaying call stack trace for plugin "store/store-chat.smx":
L 05/18/2014 - 19:41:46: [SM] [0] Line 1031, C:\Users\Panda\Dropbox\Projects\Store\include \smjansson.inc::json_object_get_string()
L 05/18/2014 - 19:41:46: [SM] [1] Line 251, store-chat.sp::OnLoadNameItem()

Arrow768 05-18-2014 16:41

Re: Chat (1.1-Alpha)
 
Read the error message

Quote:

Originally Posted by extremeg (Post 2139604)
This error comes in my log from my csgo server, from the plugin store-chat.smx. Do you can fix this error ?
Code:

L 05/18/2014 - 19:41:46: [SM] Native "json_typeof" reported: Invalid <JSON Object> handle 0 (error 4)
L 05/18/2014 - 19:41:46: [SM] Displaying call stack trace for plugin "store/store-chat.smx":
L 05/18/2014 - 19:41:46: [SM]  [0]  Line 1031, C:\Users\Panda\Dropbox\Projects\Store\include\smjansson.inc::json_object_get_string()
L 05/18/2014 - 19:41:46: [SM]  [1]  Line 251, store-chat.sp::OnLoadNameItem()



braak0327 12-21-2014 07:43

Re: Chat (1.1-Alpha)
 
having error with json import

INSERT INTO store_items (name, display_name, description, web_description, type, loadout_slot, price, attrs, is_buyable, is_tradeable, is_refundable, category_id, expiry_time, flags) VALUES ('title_sir', 'Sir', NULL, NULL, 'title', 'title', '100', '{\"text\":\"{green}Sir\",\"colorful_text\":\ "{fullred}Sir\"}', '1', '1', '1', 17, NULL, NULL)

Arrow768 12-21-2014 13:48

Re: Chat (1.1-Alpha)
 
Quote:

Originally Posted by braak0327 (Post 2237914)
having error with json import

INSERT INTO store_items (name, display_name, description, web_description, type, loadout_slot, price, attrs, is_buyable, is_tradeable, is_refundable, category_id, expiry_time, flags) VALUES ('title_sir', 'Sir', NULL, NULL, 'title', 'title', '100', '{\"text\":\"{green}Sir\",\"colorful_text\":\ "{fullred}Sir\"}', '1', '1', '1', 17, NULL, NULL)

How about posting the complete error message and using code tags for code ?

qiuhaian 12-31-2014 20:45

does this still work on cs:go ?

up

TKTheRandom 01-19-2015 02:05

Re: Chat (1.1-Alpha)
 
I had this error while importing the .json files into the database.
PHP Code:

Error Number1054

Unknown column 
'flags' in 'field list'

INSERT INTO `store_items` (`name`, `display_name`, `description`, `web_description`, `type`, `loadout_slot`, `price`, `attrs`, `is_buyable`, `is_tradeable`, `is_refundable`, `category_id`, `expiry_time`, `flags`) VALUES ('title_sir''Sir'NULLNULL'title''title''100''{\"text\":\"{green}Sir\",\"colorful_text\":\"{fullred}Sir\"}''1''1''1'16NULLNULL)

FilenameC:\sites\websites\storepanel\system\database\DB_driver.php

Line Number
330 

Thanks, Tyler.

Drixevel 01-19-2015 07:29

Re: Chat (1.1-Alpha)
 
Quote:

Originally Posted by TKTheRandom (Post 2250950)
I had this error while importing the .json files into the database.
PHP Code:

Error Number1054

Unknown column 
'flags' in 'field list'

INSERT INTO `store_items` (`name`, `display_name`, `description`, `web_description`, `type`, `loadout_slot`, `price`, `attrs`, `is_buyable`, `is_tradeable`, `is_refundable`, `category_id`, `expiry_time`, `flags`) VALUES ('title_sir''Sir'NULLNULL'title''title''100''{\"text\":\"{green}Sir\",\"colorful_text\":\"{fullred}Sir\"}''1''1''1'16NULLNULL)

FilenameC:\sites\websites\storepanel\system\database\DB_driver.php

Line Number
330 

Thanks, Tyler.

Flags is a column that's used in Store 1.2, not 1.1.

Robin955 03-28-2015 04:36

Re: Chat (1.1-Alpha)
 
yeah was able to add any html color by compiling. sorry for the extra comment.

cTmoNe 03-28-2015 10:22

Re: Chat (1.1-Alpha)
 
Quote:

Originally Posted by qiuhaian (Post 2242974)
does this still work on cs:go ?

up

No

FlubberDunkies 01-16-2017 12:28

Re: Chat (1.1-Alpha)
 
Hi, everytime i try to load this plugin on 1.2, it ends up giving me this error:
Code:

L 01/15/2017 - 19:59:03: [SM] Blaming: store\store-chat.smx
L 01/15/2017 - 19:59:03: [SM] Call stack trace:
L 01/15/2017 - 19:59:03: [SM]  [0] GetTrieValue
L 01/15/2017 - 19:59:03: [SM]  [1] Line 339, store-chat.sp::OnNameEquip
L 01/15/2017 - 19:59:03: [SM]  [3] Call_Finish
L 01/15/2017 - 19:59:03: [SM]  [4] Line 605, D:\SourcePawn\store\scripting\store-inventory.sp::InventoryCategoryMenuSelectHandle
L 01/15/2017 - 19:59:09: [SM] Exception reported: Invalid Handle 0 (error 4)

Im not a programmer expert so some assistance would be nice. Thanks in advance.

IcannotScript 10-16-2017 09:37

Re: Chat (1.1-Alpha)
 
Any way to make admin only chat tags?


All times are GMT -4. The time now is 18:13.

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