hi, is there a way to change the /admin_wall and make it into a popup box?
Like you type /admin_wall [mesg] and there will be that message on the popup box.
hi, is there a way to change the /admin_wall and make it into a popup box?
Like you type /admin_wall [mesg] and there will be that message on the popup box.
There for sure is, but I honestly don't have a clue back when I worked on LG with Fisher he had used popup boxes for just about anything so I know its possible to force the admin wall messages to come back to the clients as a popup.
Would involve a hook @ Matchserver though.
Sorry that I can't be of more help I'll look into it and probably reply back with more details I just cant easily look into stuff anymore since I dont have my PC with all my gunz shit anymore lol
Yes there is.
ZPostAdminWall( MUID* uidAdmin const char* szMsg, int nType );
if nType is 0, it's a message.
if nType is 1, it's a pop up. (in-game it'll be a message)
Last edited by PenguinGuy; 19-08-10 at 04:21 AM.
Theduel.exe - you could change it in ASM also.
Couldn't help noticing your sig /cough.
Brandon made something similar, just ask him for it since you're obviously not capable of doing it <3.
Just something to help (though Penguin already said the answer)
This is for a new command basis, but forget that and just do what he says on the /admin_wall part.
To find where admin wall is, just go into the runnable, go into Search for > All referenced text strings, and search for admin_wall
You should probably explain a bit more than that to him...
Hehe, forgot about getting the MUID (colored in red)Code:0050DE73 |. 68 B09C5C00 PUSH GunzOld.005C9CB0 ; ASCII "Admin.Announce" 0050DE78 |. 68 F5010000 PUSH 1F5 0050DE7D |. 8BC8 MOV ECX,EAX 0050DE7F |. E8 FC17FEFF CALL GunzOld.004EF680 0050DE84 |. 8BF8 MOV EDI,EAX 0050DE86 |. EB 02 JMP SHORT GunzOld.0050DE8A 0050DE88 |> 33FF XOR EDI,EDI 0050DE8A |> 57 PUSH EDI ; /Arg1 0050DE8B |. 8BCB MOV ECX,EBX ; | 0050DE8D |. 897424 24 MOV DWORD PTR SS:[ESP+24],ESI ; | 0050DE91 |. E8 2AE0FEFF CALL GunzOld.004FBEC0 ; \GunzOld.004FBEC0 0050DE96 |. 6A 48 PUSH 48 0050DE98 |. E8 38290900 CALL GunzOld.005A07D5 0050DE9D |. 83C4 04 ADD ESP,4 0050DEA0 |. 894424 14 MOV DWORD PTR SS:[ESP+14],EAX 0050DEA4 |. 85C0 TEST EAX,EAX 0050DEA6 |. C74424 20 C802>MOV DWORD PTR SS:[ESP+20],2C8 0050DEAE |. 74 10 JE SHORT GunzOld.0050DEC0 0050DEB0 |. 68 A49C5C00 PUSH GunzOld.005C9CA4 ; ASCII "uidAdmin" 0050DEB5 |. 6A 09 PUSH 9 0050DEB7 |. 8BC8 MOV ECX,EAX 0050DEB9 |. E8 0201FEFF CALL GunzOld.004EDFC0 0050DEBE |. EB 02 JMP SHORT GunzOld.0050DEC2 0050DEC0 |> 33C0 XOR EAX,EAX 0050DEC2 |> 50 PUSH EAX 0050DEC3 |. 8BCF MOV ECX,EDI 0050DEC5 |. 897424 24 MOV DWORD PTR SS:[ESP+24],ESI 0050DEC9 |. E8 3220FEFF CALL GunzOld.004EFF00 0050DECE |. 6A 48 PUSH 48 0050DED0 |. E8 00290900 CALL GunzOld.005A07D5 0050DED5 |. 83C4 04 ADD ESP,4 0050DED8 |. 894424 14 MOV DWORD PTR SS:[ESP+14],EAX 0050DEDC |. 85C0 TEST EAX,EAX 0050DEDE |. C74424 20 C902>MOV DWORD PTR SS:[ESP+20],2C9 0050DEE6 |. 74 10 JE SHORT GunzOld.0050DEF8 0050DEE8 |. 68 14CE5C00 PUSH GunzOld.005CCE14 ; ASCII "Msg" 0050DEED |. 6A 04 PUSH 4 0050DEEF |. 8BC8 MOV ECX,EAX 0050DEF1 |. E8 CA00FEFF CALL GunzOld.004EDFC0 0050DEF6 |. EB 02 JMP SHORT GunzOld.0050DEFA 0050DEF8 |> 33C0 XOR EAX,EAX 0050DEFA |> 50 PUSH EAX 0050DEFB |. 8BCF MOV ECX,EDI 0050DEFD |. 897424 24 MOV DWORD PTR SS:[ESP+24],ESI 0050DF01 |. E8 FA1FFEFF CALL GunzOld.004EFF00 0050DF06 |. 6A 48 PUSH 48 0050DF08 |. E8 C8280900 CALL GunzOld.005A07D5 0050DF0D |. 83C4 04 ADD ESP,4 0050DF10 |. 894424 14 MOV DWORD PTR SS:[ESP+14],EAX 0050DF14 |. 85C0 TEST EAX,EAX 0050DF16 |. C74424 20 CA02>MOV DWORD PTR SS:[ESP+20],2CA 0050DF1E |. 74 10 JE SHORT GunzOld.0050DF30 0050DF20 |. 68 9C9C5C00 PUSH GunzOld.005C9C9C ; ASCII "MsgType"
The PacketID (also colored in red) is 0x1F5, so just find command "PUSH 1F5", scroll to the top of the function and you got your address.
Last edited by killerzx; 19-08-10 at 05:57 PM.
Last edited by killerzx; 19-08-10 at 11:48 PM.