LT-DeLuXeR Posted April 1, 2013 Share Posted April 1, 2013 Another small edition, I generally wanted to stay away from regular players since I'm not a real player just there to run everything, so I decided to make a small option to just teleport to a level 10000 area, so nobody can touch me whenever I wanted... Anyways, here it goes: 1. Create a new city, whatever name you want, like Admin Island, level 10000, and note down the location ID. Create a file admin_teleport.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Create a file admin_teleport_done.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. SET location=X Make sure to change the X to your newly created city ID that you made earlier. Open up smenu.php Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add Below: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And you're done. I know, I know, really basic but useful at least to me a lot and works great for me. Enjoy! Quote Link to comment Share on other sites More sharing options...
Razor42 Posted April 2, 2013 Share Posted April 2, 2013 If your going to make yourself level 10000 you'll wanna think about removing admins/staff from HOF. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted April 2, 2013 Share Posted April 2, 2013 Or you can make it so players can not attack you. That is much easier IMO. Its just one simple if statement to your attack file Quote Link to comment Share on other sites More sharing options...
Razor42 Posted April 2, 2013 Share Posted April 2, 2013 That is what I was going to say but then if you have other features such as stealing money that are separate to the attack files then it could lead to having to edit numerous files. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted April 2, 2013 Share Posted April 2, 2013 Not necessarily true. Because 99% of mc codes "aftermath" files are run from attack.php unless you rewrote your attack script and broke them up individually. Now what you would want to do is make sure they cant just type yourgame.tld/attacktake.php?u=1 or whatever have you, which should be done even if not using this addition. Most game players that are there to play probably wont even attempt to find a workaround anyways unless they are there to mess with you or are bored. Quote Link to comment Share on other sites More sharing options...
LT-DeLuXeR Posted April 3, 2013 Author Share Posted April 3, 2013 If your going to make yourself level 10000 you'll wanna think about removing admins/staff from HOF. This little mod doesn't check if you are level 10000, it only checks if you are admin, you can travel here while being admin, if you are any level. Quote Link to comment Share on other sites More sharing options...
Razor42 Posted April 3, 2013 Share Posted April 3, 2013 Oh yeah sorry I didn't check the code :) It's just the fact you said " so I decided to make a small option to just teleport to a level 10000 area". Quote Link to comment Share on other sites More sharing options...
LT-DeLuXeR Posted April 3, 2013 Author Share Posted April 3, 2013 No problems lol, well I personally find this little thing really helpful since I'm not a competitive player, so I don't want to interact in attacks and stuff with players, and this takes a lot less time than actually editing attacking files etc. :) Quote Link to comment Share on other sites More sharing options...
sniko Posted April 3, 2013 Share Posted April 3, 2013 No problems lol, well I personally find this little thing really helpful since I'm not a competitive player, so I don't want to interact in attacks and stuff with players, and this takes a lot less time than actually editing attacking files etc. :) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I think that snippet at the top of each attack file would take less time :p Anyway, nice job :) Quote Link to comment Share on other sites More sharing options...
LT-DeLuXeR Posted April 3, 2013 Author Share Posted April 3, 2013 Yea that could work also, but I figured to go with a special city myself simply if I wanted to go and have fun with players sometimes or something like that I wouldn't have to edit any code, just jump in the safe place whenever I want peace, and simply leave when I want to play for real hehe. ^^ Quote Link to comment Share on other sites More sharing options...
count Posted April 4, 2013 Share Posted April 4, 2013 Remember me Quote Link to comment Share on other sites More sharing options...
LT-DeLuXeR Posted April 12, 2013 Author Share Posted April 12, 2013 Yes lol. Your point? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.