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

Basic Admin Tool


Post New Thread Reply   
 
Thread Tools Display Modes
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 07-30-2007 , 19:42   Re: Basic Admin Plugin
Reply With Quote #971

Quote:
Originally Posted by Dunno View Post
Great!!

Need me to test? We have CS:S and DOD:S servers. Plus I have server companies support testing for plugins to replace mani.
if you come to irc you can help test yes
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
XG1|AleX
Member
Join Date: Jun 2007
Old 07-31-2007 , 05:25   Re: Basic Admin Plugin
Reply With Quote #972

We @ XG1.net have a big Webinterface, and use Smarty on every corner.

There are some snippets for the Adverts, like {nextmap}, {timeleft} & {currentmap}.

Are there more?

Now we have the problem hat Smarty tries to compile these snippets cos there are { & } Tags.

of Course we tried to use the Smarty Codes {ldelim} & {rdelim} that writes these tags { & } without compiling them.

But we dont want that our Customers have to write {ldelim}...{rdelim} or {literal}...{/literal} in our Webinterface.

Is there a way to use other Tags than { & } for the snippets?

// We found an other Solution...

But, are there mor possible Snippets, then {nextmap}, {timeleft} & {currentmap}? Maybe colors or so?
__________________

Last edited by XG1|AleX; 07-31-2007 at 06:19.
XG1|AleX is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 07-31-2007 , 06:38   Re: Basic Admin Plugin
Reply With Quote #973

good point, il add support for ## tags i belive.

Other then that the publicmessage system is fairly much like it allways was, it did get support a few more ways of say stuff. Basicly ppl need to suggest what they want and il look at it, some of the say mode does support colors, so that is posible.
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
XG1|AleX
Member
Join Date: Jun 2007
Old 07-31-2007 , 09:12   Re: Basic Admin Plugin
Reply With Quote #974

Would be really nice that we have options 4 the messages, maybe with the source integrated color green and lightgreen or more custom colors...

Our customers can niw install BAT with one simple klick ;) and set all options in our Webinterface ;) u realized the system with the ini files really good ;) it was really easy to handle for us
__________________
XG1|AleX is offline
PureSpider
Senior Member
Join Date: Aug 2006
Old 07-31-2007 , 13:18   Re: Basic Admin Plugin
Reply With Quote #975

just prefix the wildcards with the matching color bytes?
look in the RPGMOD language files for these

=> Dark Green is \x04, Light Green is \x03, Normal is \x01
PureSpider is offline
XG1|AleX
Member
Join Date: Jun 2007
Old 07-31-2007 , 13:22   Re: Basic Admin Plugin
Reply With Quote #976

How can i use them?

How can i set if in the Chat is shown...

[BAT] Admin **** user command *************
__________________
XG1|AleX is offline
PureSpider
Senior Member
Join Date: Aug 2006
Old 07-31-2007 , 13:53   Re: Basic Admin Plugin
Reply With Quote #977

you can set it for the wildcards for example
\x01Next map is \x04{nextmap}\x04\x01

don't know if i'm right, but i think so
you can use these in the language files aswell
PureSpider is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 07-31-2007 , 14:03   Re: Basic Admin Plugin
Reply With Quote #978

Also, "green" colored chat doesn't exist in dods. I use \x04 in my own plugins because that's dark green in css and red in dods.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
XG1|AleX
Member
Join Date: Jun 2007
Old 07-31-2007 , 14:24   Re: Basic Admin Plugin
Reply With Quote #979

think we found a bug...

The Adverts System is not working.
When we set
Code:
bat_publicmsg_mode 2    // 0 = System Disabled | 1 = Enabled via normal chat messages | 2 = Enabled via Hint messages
to 2, the messages are not shown right, u just see a small grey field... not text...

and when we set it to 1, the server crashes when a messages have to come.

The only errors i see in the BAT Logs are
Code:
07/31/2007 - 20:18:18 - ERROR: Translation parsing error, line 487 is being skipped as it has long language associated
edit

im using v.1.5.0b7 ;) i'll try it with the 1.4.4 now
__________________

Last edited by XG1|AleX; 07-31-2007 at 14:30.
XG1|AleX is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 07-31-2007 , 15:13   Re: Basic Admin Plugin
Reply With Quote #980

Quote:
Originally Posted by PureSpider View Post
just prefix the wildcards with the matching color bytes?
look in the RPGMOD language files for these

=> Dark Green is \x04, Light Green is \x03, Normal is \x01
I was thinking of adding stuff like #green# instead as its simpler, and there is gonna be issues with colors with regular chat msg as they tend to be screwy and mod dependant.

Quote:
Originally Posted by XG1|AleX View Post
think we found a bug...

The Adverts System is not working.
When we set
Code:
bat_publicmsg_mode 2    // 0 = System Disabled | 1 = Enabled via normal chat messages | 2 = Enabled via Hint messages
to 2, the messages are not shown right, u just see a small grey field... not text...

and when we set it to 1, the server crashes when a messages have to come.

The only errors i see in the BAT Logs are
Code:
07/31/2007 - 20:18:18 - ERROR: Translation parsing error, line 487 is being skipped as it has long language associated
edit

im using v.1.5.0b7 ;) i'll try it with the 1.4.4 now
Quote:
Originally Posted by PureSpider View Post
you can set it for the wildcards for example
\x01Next map is \x04{nextmap}\x04\x01

don't know if i'm right, but i think so
you can use these in the language files aswell
Yea i noticed the posible crash bug when playing with the tags, i assume its the same thing .

Quote:
BAT 1.5.0 Beta 8
- Added: startup arg: -admin_basepath addons/bat1 , to change the base older of BAT
- Added: startup arg: -admin_configfile BATConfig1.cfg , to change the standard config file for BAT
- Added: admin flag k, Temp bans only
- Added: Support for using ## instead of {} tags, support for old style tags will be removed at one point
- Fixed: Potensial crash related to {nextmap} in pub msg
- Fixed: menuselect not valid command stuff in client console
- Fixed: Some log spam related to translation.dat (Related to the fact that some polish translations was in the file, but not supported by BAT as its incomplete)
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS 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 21:04.


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