Mirage Engine
AlertMsg(MsgBox) - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: AlertMsg(MsgBox) (/showthread.php?tid=2190)



AlertMsg(MsgBox) - Mattyw - 25-09-2008

Is there a way to stop it from kicking the player?

Or something else? Such as 'WarnMsg' from XtremeWorlds?(Wouldn't be called that)

Trying to make a WarnMsg, lol.


Re: MsgBox - Nean - 25-09-2008

Mattyw Wrote:Is there a way to stop it from kicking the player?

Or something else? Such as 'WarnMsg' from XtremeWorlds?(Wouldn't be called that)

MsgBox, doesn't kick the player. The AlertMsg, does. If you were to use something like:

Call MsgBox("Test", VBOKONLY) then it would call a msgbox, with a button that only has an OK button to click. Now, an AlertMsg, is spescified by the game, and that makes you get kicked.


Re: AlertMsg(MsgBox) - Mattyw - 25-09-2008

Fixed. :S


Re: AlertMsg(MsgBox) - Vahz - 26-09-2008

Mattyw Wrote:Is there a way to stop it from kicking the player?

Or something else? Such as 'WarnMsg' from XtremeWorlds?(Wouldn't be called that)

Trying to make a WarnMsg, lol.

Yes, there is a way...

just remove this command from Sub AlertMsg in server side
Code:
Call CloseSocket(Index)



Re: AlertMsg(MsgBox) - Mattyw - 26-09-2008

Vahz Wrote:
Mattyw Wrote:Is there a way to stop it from kicking the player?

Or something else? Such as 'WarnMsg' from XtremeWorlds?(Wouldn't be called that)

Trying to make a WarnMsg, lol.

Yes, there is a way...

just remove this command from Sub AlertMsg in server side
Code:
Call CloseSocket(Index)

I'll quote myself.

Mattyw Wrote:Fixed. :S



Re: AlertMsg(MsgBox) - Rezeyu - 27-09-2008

Umm, no.

That would make all Hackingattempt Calls no longer kick them.


Re: AlertMsg(MsgBox) - Kousaten - 27-09-2008

The easy way isn't always the right way. ^_^


Re: AlertMsg(MsgBox) - Mattyw - 27-09-2008

I'm using Sub WarnMsg. >.>

Just ignore this topic, done. Capish?