The RPG Maker Resource Kit
RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Arrow on September 24, 2006, 10:48:43 PM
-
Ok, so how can you set up an IP ban for an online game in RMXP? It doesn't need to be a system, I just need something that will block a specific IP.
-
Try making a simple IP block list for example:
You will need the following:
1 Variable
1 Event
1 Condition
1 Common Event
Set up a common event, and title it Block List, and put keep it's trigger on (none).
Then go to the first map where everyone is spawned, and title it Block List Call.
Set it on auto start and put in the following:
Call Common Event: Block List
Erase Event
In the Common event create a variable and name it Blocked Name, then make it something like this Blocked Name= (*Player Name*)
Then make a condition event that looks something like this (If Block List=*Player Name* call game over)
#Block List
<>If Blocked Name= *Player Name* Then Call Game Over
<>If else Do Nothing
If you have it make them get the game over screen enough then they should naturally just back off..
-
You do not even know how much help this is. THANK YOU.