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

VIP in scoreboard


Post New Thread Reply   
 
Thread Tools Display Modes
dj_freeze
Veteran Member
Join Date: Dec 2009
Location: Looking for you!
Old 10-18-2010 , 11:01   Re: VIP in scoreboard
Reply With Quote #31

Quote:
Originally Posted by lucas_7_94 View Post
Code:
No module data detected.
native: message_end
native: write_byte
native: message_begin
native: get_user_msgid
native: set_task
native: containi
native: get_mapname
native: register_event
native: register_plugin
native: get_user_flags
0x000001EC public ResetHUD(id)
0x0000028C public VIP(TaskID)
0x00000008 stock is_user_admin(id)
0x000000A8 public plugin_init()
codestart  codeend    address    type         name
0x00000008 0x000000A8 0x0000000C local    val id
0x00000140 0x000001E4 0xFFFFFF80 local    val szMapName[32]
0x000001EC 0x0000028C 0x0000000C local    val id
0x000002BC 0x000003F0 0xFFFFFFFC local    val id
0x0000028C 0x000003F0 0x0000000C local    val TaskID
0x000001EC 0x0000028C 0x000001EC public       ResetHUD
0x0000028C 0x000003F0 0x0000028C public       VIP
0x000000A8 0x000003F0 0x00000000 global   val g_szVIPMap
0x00000008 0x000000A8 0x00000008 stock        is_user_admin
0x000000A8 0x000001EC 0x000000A8 public       plugin_init
0x00000000 new g_szVIPMap

0x8                        PROC              ; stock is_user_admin(id)
0xC                       BREAK              ; 9066.attach:13
0x10                      BREAK              ; 9066.attach:15
0x14                     PUSH.C  0x0         ; g_szVIPMap 0x0
0x1C                     PUSH.S  0xC         ; id
0x24                     PUSH.C  0x8
0x2C                   SYSREQ.C  0x0         ; get_user_flags
0x34                      STACK  0xC         ; free 3 cells
0x3C                   MOVE.alt
0x40                   ZERO.pri
0x44                       XCHG
0x48                      JSLEQ  0xA0        ; jump_0
0x50                     PUSH.C  0x0         ; g_szVIPMap 0x0
0x58                     PUSH.S  0xC         ; id
0x60                     PUSH.C  0x8
0x68                   SYSREQ.C  0x0         ; get_user_flags
0x70                      STACK  0xC         ; free 3 cells
0x78                  CONST.alt  0x2000000
0x80                        AND
0x84                        NOT
0x88                       JZER  0xA0        ; jump_1
0x90                  CONST.pri  0x1         ; 0x41000000 (1090519040.00000)
0x98                       JUMP  0xA4        ; jump_2
0xA0                   ZERO.pri              ; target:jump_0
                                             ; target:jump_1
0xA4                       RETN              ; target:jump_2
0xA8                       PROC              ; public plugin_init()
0xAC                      BREAK              ; 9066.attach:5
0xB0                      BREAK              ; 9066.attach:7
0xB4                     PUSH.C  0x58        ; "PHP++"
0xBC                     PUSH.C  0x48        ; "1.0"
0xC4                     PUSH.C  0x4         ; "Admins are VIP's"
0xCC                     PUSH.C  0xC
0xD4                   SYSREQ.C  0x1         ; register_plugin
0xDC                      STACK  0x10        ; free 4 cells
0xE4                      BREAK              ; 9066.attach:8
0xE8                  CONST.pri  0xC4        ; 0x0 (0.00000)
0xF0                       HEAP  0x4
0xF8                       MOVS  0x4
0x100                  PUSH.alt
0x104                    PUSH.C  0xB8        ; "be"
0x10C                    PUSH.C  0x94        ; "ResetHUD"
0x114                    PUSH.C  0x70        ; "ResetHUD"
0x11C                    PUSH.C  0x10
0x124                  SYSREQ.C  0x2         ; register_event
0x12C                     STACK  0x14        ; free 5 cells
0x134                      HEAP  0xFFFFFFFC
0x13C                     BREAK              ; 9066.attach:10
                                             ; new szMapName[32]
0x140                     STACK  0xFFFFFF80  ; allocate 32 cells
0x148                  ZERO.pri
0x14C                  ADDR.alt  0xFFFFFF80
0x154                      FILL  0x80        ; 32 cells
0x15C                     BREAK              ; 9066.attach:11
0x160                    PUSH.C  0x1F        ; 0x6100
0x168                  PUSH.ADR  0xFFFFFF80  ; szMapName[32]
0x170                    PUSH.C  0x8
0x178                  SYSREQ.C  0x3         ; get_mapname
0x180                     STACK  0xC         ; free 3 cells
0x188                     BREAK              ; 9066.attach:13
0x18C                    PUSH.C  0xC8        ; "as_"
0x194                  PUSH.ADR  0xFFFFFF80  ; szMapName[32]
0x19C                    PUSH.C  0x8
0x1A4                  SYSREQ.C  0x4         ; containi
0x1AC                     STACK  0xC         ; free 3 cells
0x1B4                  MOVE.alt
0x1B8                 CONST.pri  0xFFFFFFFF  ; signed=-1 float=-1.#QNAN0

0x1C0                     JSGEQ  0x1DC       ; jump_3
0x1C8                     BREAK              ; 9066.attach:14
0x1CC                 CONST.pri  0x1         ; 0x41000000 (1090519040.00000)
0x1D4                  STOR.pri  0x0         ; g_szVIPMap
0x1DC                     STACK  0x80        ; free 32 cells
                                             ; target:jump_3
0x1E4                  ZERO.pri
0x1E8                      RETN
0x1EC                      PROC              ; public ResetHUD(id)
0x1F0                     BREAK              ; 9066.attach:17
0x1F4                     BREAK              ; 9066.attach:19
0x1F8                    PUSH.C  0x0         ; g_szVIPMap 0x0
0x200                 CONST.pri  0xEC        ; 0x0 (0.00000)
0x208                      HEAP  0x4
0x210                      MOVS  0x4
0x218                  PUSH.alt
0x21C                    PUSH.C  0x0         ; g_szVIPMap 0x0
0x224                 CONST.pri  0xE8        ; 0x0 (0.00000)
0x22C                      HEAP  0x4
0x234                      MOVS  0x4
0x23C                  PUSH.alt
0x240                LOAD.S.pri  0xC         ; id
0x248                     ADD.C  0x1AFE      ; signed:  6910
0x250                  PUSH.pri
0x254                    PUSH.C  0xD8        ; "VIP"
0x25C                    PUSH.C  0x3F000000  ; signed=1056964608 float=0.500000

0x264                    PUSH.C  0x1C
0x26C                  SYSREQ.C  0x5         ; set_task
0x274                     STACK  0x20        ; free 8 cells
0x27C                      HEAP  0xFFFFFFF8
0x284                  ZERO.pri
0x288                      RETN
0x28C                      PROC              ; public VIP(TaskID)
0x290                     BREAK              ; 9066.attach:22
0x294                     BREAK              ; 9066.attach:24
0x298                  LOAD.pri  0x0         ; g_szVIPMap
0x2A0                      JZER  0x2B8       ; jump_4
0x2A8                     BREAK              ; 9066.attach:25
0x2AC                 CONST.pri  0x1         ; 0x41000000 (1090519040.00000)
0x2B4                      RETN
0x2B8                     BREAK              ; 9066.attach:27
                                             ; target:jump_4
                                             ; new id
0x2BC                     STACK  0xFFFFFFFC  ; allocate 1 cells
0x2C4                LOAD.S.pri  0xC         ; TaskID
0x2CC                     ADD.C  0xFFFFE502  ; signed:  -6910
0x2D4                STOR.S.pri  0xFFFFFFFC  ; id
0x2DC                     BREAK              ; 9066.attach:29
0x2E0                    PUSH.S  0xFFFFFFFC  ; id
0x2E8                    PUSH.C  0x4
0x2F0                      CALL  0x8         ; stock is_user_admin(id)
0x2F8                      JZER  0x3D8       ; jump_5
0x300                     BREAK              ; 9066.attach:31
0x304                    PUSH.C  0x0         ; g_szVIPMap 0x0
0x30C                 CONST.pri  0x120       ; 0x0 (0.00000)
0x314                      HEAP  0xC
0x31C                      MOVS  0xC
0x324                  PUSH.alt
0x328                    PUSH.C  0xF0        ; "ScoreAttrib"
0x330                    PUSH.C  0x4
0x338                  SYSREQ.C  0x6         ; get_user_msgid
0x340                     STACK  0x8         ; free 2 cells
0x348                  PUSH.pri
0x34C                    PUSH.C  0x2         ; 0x410000
0x354                    PUSH.C  0x10
0x35C                  SYSREQ.C  0x7         ; message_begin
0x364                     STACK  0x14        ; free 5 cells
0x36C                      HEAP  0xFFFFFFF4
0x374                     BREAK              ; 9066.attach:32
0x378                    PUSH.S  0xFFFFFFFC  ; id
0x380                    PUSH.C  0x4
0x388                  SYSREQ.C  0x8         ; write_byte
0x390                     STACK  0x8         ; free 2 cells
0x398                     BREAK              ; 9066.attach:33
0x39C                    PUSH.C  0x4         ; "Admins are VIP's"
0x3A4                    PUSH.C  0x4
0x3AC                  SYSREQ.C  0x8         ; write_byte
0x3B4                     STACK  0x8         ; free 2 cells
0x3BC                     BREAK              ; 9066.attach:34
0x3C0                    PUSH.C  0x0
0x3C8                  SYSREQ.C  0x9         ; message_end
0x3D0                     STACK  0x4         ; free 1 cells
0x3D8                     BREAK              ; 9066.attach:37
                                             ; target:jump_5
0x3DC                 CONST.pri  0x1         ; 0x41000000 (1090519040.00000)
0x3E4                     STACK  0x4         ; free 1 cells
0x3EC                      RETN
file: amxmisc.inc
file: 9066.attach
Here is descompiled , now make the plugin yourself.
Like this?

PHP Code:
#include <amxmodx>
#include <amxmisc>

new g_szVIPMap

public plugin_init()
{
    
register_plugin("Admins are VIP's""1.0""PHP++")
    
register_event("ResetHUD""ResetHUD""be")
    
    new 
szMapName[32]
    
get_mapname(szMapName31)
    
    if (
containi(szMapName"as_") > -1)
        
g_szVIPMap 1
}

public 
ResetHUD(id)
{
    
set_task(0.5"VIP"id 6910)
}

public 
VIP(TaskID)
{
    if (
g_szVIPMap)
        return 
PLUGIN_HANDLED
        
    
new id TaskID 6910
    
    
if (is_user_admin(id))
    {
        
message_begin(MSG_ALLget_user_msgid("ScoreAttrib"))
        
write_byte(id)
        
write_byte(4)
        
message_end()
    }
    
    return 
PLUGIN_HANDLED

dj_freeze is offline
Send a message via Skype™ to dj_freeze
issen1
Member
Join Date: Jan 2010
Old 10-18-2010 , 15:08   Re: VIP in scoreboard
Reply With Quote #32

Quote:
Originally Posted by Exolent[jNr] View Post
Hello Non-Steam.
neondragon.net server have this feature as well, if I remember correctly. I didn't know they were hosting non-steam servers.
__________________
greets (:
issen1 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-18-2010 , 15:09   Re: VIP in scoreboard
Reply With Quote #33

Quote:
Originally Posted by issen1 View Post
neondragon.net server have this feature as well, if I remember correctly. I didn't know they were hosting non-steam servers.
He is talking about the screenshot not having the Ad, not the VIP stuff.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
issen1
Member
Join Date: Jan 2010
Old 10-18-2010 , 15:47   Re: VIP in scoreboard
Reply With Quote #34

Ah, I see. Ignore my post then.

Maybe it's an old screenshot?
__________________
greets (:
issen1 is offline
polimpo4
Member
Join Date: Jan 2017
Old 08-31-2017 , 15:54   Re: VIP in scoreboard
Reply With Quote #35

no it isnt old my actual server have that working xD you just need someone like me to create one super plugin xD
polimpo4 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-31-2017 , 18:00   Re: VIP in scoreboard
Reply With Quote #36

@poli
You revived this thread just to post that shit?
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 08-31-2017 , 18:45   Re: VIP in scoreboard
Reply With Quote #37

7 years....

https://www.youtube.com/watch?v=LHCob76kigA
__________________
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
SaBBa
Member
Join Date: Dec 2012
Old 01-17-2021 , 05:09   Re: VIP in scoreboard
Reply With Quote #38

is it possible to write VIP word instead of ping ?

Last edited by SaBBa; 01-17-2021 at 05:09.
SaBBa is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-17-2021 , 07:40   Re: VIP in scoreboard
Reply With Quote #39

Quote:
Originally Posted by SaBBa View Post
is it possible to write VIP word instead of ping ?
No.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 16:30.


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