Raised This Month: $12 Target: $400
 3% 

Forum mod


Post New Thread Reply   
 
Thread Tools Display Modes
John2be
Member
Join Date: Oct 2005
Location: The Netherlands
Old 03-11-2007 , 05:32   Re: Forum mod
Reply With Quote #661

The group does exist and I entered the command exactly as you just described.
It still says that there are 0 registered groups.

[img]http://img80.**************/img80/8114/consolevi7.gif[/img]

And it will still say that there are 0 registered groups after the map changes.

[EDIT] Now I just found out it doesn't even give the registed user flag to players who have entered their steam ID.
However, the prefix function on non-registered users did work.
As I said, it doesnt give me any errors in the amxx logs so I've got no idea.

My plugin.ini :

Code:
; Admin Base - Always one has to be activated
admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)
forummod.amxx
amxbans.amxx

Last edited by John2be; 03-11-2007 at 07:01.
John2be is offline
Send a message via MSN to John2be
l1ake
Junior Member
Join Date: Jul 2005
Old 03-12-2007 , 03:32   Re: Forum mod
Reply With Quote #662

I find that odd...

Something of note: the plugin doesnt save anything thats not predifined in one of your cfgs. i.e. I added my forum url to fm_forumurl. I checked to see it was there. When I restarted the map, the fm_forumurl went back to default, i.e. blank.
l1ake is offline
l1ake
Junior Member
Join Date: Jul 2005
Old 03-12-2007 , 04:18   Re: Forum mod
Reply With Quote #663

I was looking through the .sma and it doesnt seem to be saving any of group information except for in arrays inside the .sma itself...in other words...it goes bye bye when the server reloads the plugin: restarts and map changes.

Quote:
Originally Posted by hatad
I have a problem.
When i write: amx_registergroup Admins abcdefghijklmnopqrstu
every thing works thine.
Then when i change map and write amx_listgroups it says
09:09:19 [Forum mod] 0 groups are registered.

Quote:
Originally Posted by Johnny got his gun
Register groups each map. Ie, put in your mapchangecfgfile. amxx.cfg is fine too.
Quote:
Originally Posted by hatad
I put the amx_registergroup Admins abcdefghijklmnopqrstu in mapchangecfgfile. and amxx.cfg but its the same problem.
This issue was not addressed. I put the amx_registergroup command (with group name and flags) in my amx.cfg and after a restart or mapchange, amx_listgroups still returns 0 groups are registered.

Last edited by l1ake; 03-12-2007 at 05:04.
l1ake is offline
John2be
Member
Join Date: Oct 2005
Location: The Netherlands
Old 03-12-2007 , 11:39   Re: Forum mod
Reply With Quote #664

Yeah, I read that post to.

I'm wondering now, do registered users actually get the extra "registered-user" flag on your server?

Here's a list what works on my server and what doesn't:

- Usergroup flags - Doesn't work
- Registered-user flag - Doesn't work
- Prefix on non-registered users - Works, but is buggy*


*If players have a space in their name, everything behind the space gets deleted. e.g. the pwnerer => Pub:the

Last edited by John2be; 03-12-2007 at 11:44. Reason: Fixed some grammar
John2be is offline
Send a message via MSN to John2be
l1ake
Junior Member
Join Date: Jul 2005
Old 03-12-2007 , 12:19   Re: Forum mod
Reply With Quote #665

John2be:
when you register the group in the console, you should get a message saying that it was registered.

I do most of my testing using HLSW: Half Life Server Watch. While I cant test all client commands (amxmodmenu for instance), it does however help incredibly when it comes to settings and testing. It tells you everything that goes on in the server console. It may be more responsive than the in game console.
l1ake is offline
l1ake
Junior Member
Join Date: Jul 2005
Old 03-12-2007 , 12:29   Re: Forum mod
Reply With Quote #666

as far as what does work for me:

Pre and Post Fix Does Work
Kicknonregged Does Work - this means that it is pulling steamids from the db

You have to be careful because the fmapi_phpbb uses the wrong field (user_sig instead of user_steamid) so if you didnt change it to user_steamid, then it wont be able to get the steamids from your database.

If you want the prefix to keep the space, you have to set it to fm_prepend "Pub: ". Dont forget the space after the semicolon. I suggest that you set this in your amx.cfg, otherwise it go back to default on server restart or map change.
l1ake is offline
John2be
Member
Join Date: Oct 2005
Location: The Netherlands
Old 03-12-2007 , 13:00   Re: Forum mod
Reply With Quote #667

Okay, I allready tested it on both HLSW and in-game rcon.
The result: It does exactly the same

It doesnt give me a confirmation and doesnt register the group at all.
John2be is offline
Send a message via MSN to John2be
l1ake
Junior Member
Join Date: Jul 2005
Old 03-12-2007 , 13:05   Re: Forum mod
Reply With Quote #668

are you using nuke or phpbb?
l1ake is offline
John2be
Member
Join Date: Oct 2005
Location: The Netherlands
Old 03-12-2007 , 13:12   Re: Forum mod
Reply With Quote #669

O darn, fixed.

I forgot a " behind the database name in sql.cfg.
Yeah, now the only problem is that it doesnt save the groups after the plugin reloads.
John2be is offline
Send a message via MSN to John2be
l1ake
Junior Member
Join Date: Jul 2005
Old 03-12-2007 , 13:17   Re: Forum mod
Reply With Quote #670

Quote:
I forgot a " behind the database name in sql.cfg.
EEK! 0_0
l1ake is offline
Reply


Thread Tools
Display Modes

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 04:34.


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