AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Admin Prefixes V4.0 by m0skVi4a ;] (https://forums.alliedmods.net/showthread.php?t=183491)

igreen 07-11-2013 14:27

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Thanks, i have one more question about admins, moderators and vips.
"i" "78.63.243.61" "[HEAD ADMIN]"
"f" "m" "[MODERATOR]"
"f" "n" "[ADMIN]"
"f" "t" "[VIP]"
Its my ap_prefixes.ini
but when moderator or admin comes to the server this plugin recognises them as a VIP. How to fix that?
Thanks

m0skVi4a 07-11-2013 14:59

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Remove those players flag "t"

igreen 07-11-2013 15:12

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
If i remove flag "t" admins and moderators won't have VIP...

m0skVi4a 07-11-2013 15:22

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
but when moderator or admin comes to the server this plugin recognises them as a VIP. How to fix that?


The fix is what i said in my previous post.

igreen 07-11-2013 16:02

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
i mean admins and moderators won't have vip privileges not VIP prefix :) I need them have it.

m0skVi4a 07-11-2013 16:14

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Then your admins and moderators must have flag "t"

igreen 07-11-2013 17:00

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
so it's impossible to do like i want to right? Admins and moderators with flag "t" will be recognised as a vip... right?

m0skVi4a 07-12-2013 01:44

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Yes. You could tested it before asking.

UchihaSkills 07-12-2013 12:48

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Lol i made same Plugin but much less code than you have..

m0skVi4a 07-12-2013 15:18

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
It was unnecessarily to post for such stupid thing...

z0mb1el0v3r 07-13-2013 10:06

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Quote:

Originally Posted by m0skVi4a (Post 1988327)
Quote:

Originally Posted by z0mb1el0v3r (Post 1987529)
m0skVi4a, sometimes the prefix does not shows if player connected and joined as spectator as soon after new map change. It shows later if player join a team or retry. :?

Can you test it and see if it does the same too?
Thanks and good plugin! :up:

@z0mb1el0v3r I have not seen this bug. I will test.

m0skVi4a, I can confirm this bug! It occurs only when server is just start/run. When I create a new server, and connect to the server then join spectator after I see the MOTD. Prefix is not showing :nono:

Try it.

DIS 07-17-2013 13:51

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
1 Attachment(s)
Good Job m0skVi4a:wink:,
I tested the plugin 100% working fine, and should get approved but there is a small problem before getting approved:-
When I type ap_reload_prefixes this message comes for me:-
PHP Code:

************************************************
ML_NOTFOUNDPREFIX_LOAD_NAME
ML_NOTFOUND
PREFIX_LOADED_BY
ML_NOTFOUND
PREFIX_LOADED
************************************************ 

However, I have admin_prefixes.txt in lang folder and it has PREFIX_LOAD_NAME and the other things and in the script it is
PHP Code:

register_dictionary("admin_prefixes.txt"

but I really don't know why ML_NOTFOUND happens. Please try to recheck your script and fix this issue (It is not important for me, just for others it may be important) . Thanks :D

m0skVi4a 07-17-2013 13:55

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Quote:

Originally Posted by m0skVi4a (Post 1970981)
The problem is in the encoding of the LANG file. Change it to ANSI and there will be no problem.

Sorry, but I can't upload the fixed file at the moment.

YamiKaitou 07-17-2013 14:56

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Change the encoding to UTF-8 without BOM

DIS 07-17-2013 23:17

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Quote:

Originally Posted by YamiKaitou (Post 1993056)
Change the encoding to UTF-8 without BOM

Im noob at that can u say how?

m0skVi4a 07-18-2013 11:45

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
When you get to the File -> Save window on the bottom there is Encoding. Change it to ANSI.

YamiKaitou 07-18-2013 12:10

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Quote:

Originally Posted by DIS (Post 1993338)
Im noob at that can u say how?

Use a program that allows you to change the encoding (Notepad++ is one) and then change the encoding to UTF-8 without BOM and then save and re-upload the file

DIS 07-18-2013 13:27

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
1 Attachment(s)
Quote:

Originally Posted by m0skVi4a (Post 1993788)
When you get to the File -> Save window on the bottom there is Encoding. Change it to ANSI.

Quote:

Originally Posted by YamiKaitou (Post 1993802)
Use a program that allows you to change the encoding (Notepad++ is one) and then change the encoding to UTF-8 without BOM and then save and re-upload the file

Thanks :D
EDIT: Here you are (The fixed file is attached).

sandro 07-20-2013 10:59

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Thank you.

igreen 07-28-2013 08:53

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Hi, i have a problem. I'm using this plugin along with Allchat plugin and somehow allchat doesn't work. But when i disable AdminPrefixes, Allchat plugin works... Adminprefixes plugin just somehow prevents alive players to see what Dead players write. How to fix that?

m0skVi4a 07-28-2013 14:29

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
It is blocked by the plugin. If you do not have in mind just enable the Admin Listen function for the all players.

igreen 07-28-2013 15:32

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
"ap_listen" - Is the Admin Listen option on(1) or off(0). Default: 1

How to do that if there is only option for admins... Flags?

m0skVi4a 07-28-2013 16:05

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
There is a CVAR ap_listen_flag
Set it to flag U (user)
Just type
ap_listen_flag u

ezpkveko 08-01-2013 15:02

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
counter strike source or counter strike 1.6?

m0skVi4a 08-01-2013 15:09

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
If it was source plugin it would be in the source section.

zxzx452 08-05-2013 17:53

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Do you think you can add a command to toggle the prefix on and off? For example:
[Prefix] Admin: Hi
(toggleprefix)
Admin: Hi

I hope you understand...

GoodJob 08-12-2013 03:19

Re: Admin Prefixes V3.0 by m0skVi4a ;]
 
Sir Good Job, very nice Plugin, but my opinion, it is better to remove *Dead* at the beginning of the prefix because when I am dead, it looks like this:
*Dead* [OWNER] My Name: My Message and it doesn't look cool when you are dead
If you are not agreed with me, can you please post the edited version to remove *Dead* at the beginning?
I'm using the white one
Thanks :D

m0skVi4a 08-18-2013 14:48

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
Update

August 18, 2013 - V4.0:
- Small code changes and little bug fixes
- Added Prefux Toggle command
- Fixed bug with the supporting of the plugin on AMXX 1.8.2
- AMXX 1.8.2 Supprot!
- SQL Version!

HalfLife 08-19-2013 06:08

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
Good Update :)
Now we can use it using SQL.

chetah 08-19-2013 22:00

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
good uptade

HalfLife 08-21-2013 11:02

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
Make another one for Team Color.

BLacking98 08-28-2013 18:50

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
does the green admin chat come aswell ?

HalfLife 09-01-2013 12:11

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
m0skVi4a is there any way for the green version to make the chat white but the prefix green?
Like:
[OWNER] HalfLife: Hello m0skVi4a!
Can you post a version like this?
Thanks in advance :)

m0skVi4a 09-01-2013 13:44

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
You can edit it by yourself

!g is green
!t is team
!n is normal

colours

sami_spt 09-01-2013 14:53

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
white chat is not possible ^_^

(reply to post #114)

m0skVi4a 09-01-2013 15:33

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
It is possible.
Just use WHITE_CHAT edition

Baws 09-24-2013 18:31

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
Error. Need to fix it please man!

PHP Code:

L 09/23/2013 10:34:10: [AMXXDisplaying debug trace (plugin "AdminPrefixes.amxx")
L 09/23/2013 10:34:10: [AMXXRun time error 4index out of bounds 
L 09
/23/2013 10:34:10: [AMXX]    [0AdminPrefixes.sma::HookSay (line 365


m0skVi4a 09-25-2013 12:48

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
You are using modified version.

Baws 09-25-2013 18:27

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
No errors so far. Thanks. If i get errors i will come back :] thanks again mate. Nice plugin!

HalfLife 10-16-2013 23:41

Re: Admin Prefixes V4.0 by m0skVi4a ;]
 
m0skvi4a, I see this in logs and my server crashed 2 times yesterday. not sure because of this or no:
L 10/16/2013 - 22:07:05: [AMXX] Run time error 10 (plugin "AdminPrefixes.amxx") (native "TrieSetString") - debug not enabled!
L 10/16/2013 - 22:07:05: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Any idea?


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

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