WiseRock Posted November 23, 2012 Author Share Posted November 23, 2012 Hello Today I am going to show you how to delete your IP,Port, Game Name from your options. And also I am going to show you how to load your own news from your own vb6 client. You don't want people changing the name of your game and changing the news.This is Compatible with All Versions of Eclipse from Eclipse Dawn to Eclipse AdvancedThis Helps with Security of your IP and Port.Lets get Started!First Go to modConstantsadd this any where you like```Public Const GameIP as String = "127.0.0.1"Public Const GamePort as String = 7001Public Const GameName as String = [Your Game's Name]```Then Go to modClientTCPFind```' connectfrmMain.Socket.RemoteHost = Options.IPfrmMain.Socket.RemotePort = Options.Port```Replace it with```' connectfrmMain.Socket.RemoteHost = GameIPfrmMain.Socket.RemotePort = GamePort```Then now go to SaveOptionsDelete the game name and```Call PutVar(filename, "Options", "GameName",Options.Game_Name)Call PutVar(filename, "Options", "IP", Options.IP)Call PutVar(filename, "Options", "Port", str(Options.Port))```Scroll down till you find```If Not FileExist(filename, True) ThenOptions.GameName = Eclipse OriginsOptions.Password = vbNullStringOptions.SavePass = 0Options.Username = vbNullStringOptions.IP = "127.0.0.1"Options.Port = 7001Options.MenuMusic = vbNullStringOptions.Music = 1Options.sound = 1Options.Debug = 0Options.NightTile = 1SaveOptions```Delete the IP and Portand Game NameNow type Ctrl+F and go to replace1st BoxGame_Name2nd BoxGameNameYou should get about 6-9 replacements–---------------------------------------------------EDIT: I have removed the News Heres a better tutorial for News ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)[Here's the Link for a Better News](http://www.touchofdeathforums.com/community/index.php?/topic/129314-make-online-news-in-frmmenu/)No Credits Need ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) (:Your Done!I hope this had helped youIf you would like to thank me then play my game when it comes out to beta ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)Edit: Make Sure You Delete in modTypes```Private Type OptionsRecGame_Name As StringsavePass As BytePassword As String * NAME_LENGTHUsername As String * ACCOUNT_LENGTHIP As StringPort As LongMenuMusic As StringMusic As Bytesound As ByteDebug As ByteEnd Type```Delete GameName,Ip,Port![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
Wortel Angels Posted November 23, 2012 Share Posted November 23, 2012 Nice Tutorial, but how are that better Options ?Thats just hard-coded Options ;-) Link to comment Share on other sites More sharing options...
WiseRock Posted November 23, 2012 Author Share Posted November 23, 2012 I really did not know what to name it and thanks I hope it helped you Link to comment Share on other sites More sharing options...
Wortel Angels Posted November 23, 2012 Share Posted November 23, 2012 Call it Hard-Coded Options ;-)I made it already like this, but it will help fur sure.To the guys which want to ask for what hardcode it ?That they dont just change your settings / get your IP e.c.t. Link to comment Share on other sites More sharing options...
DMF Posted November 23, 2012 Share Posted November 23, 2012 ya but ip and port plus game name shouldnt be just left out. Link to comment Share on other sites More sharing options...
WiseRock Posted December 9, 2012 Author Share Posted December 9, 2012 Tutorial will be updated… Link to comment Share on other sites More sharing options...
WiseRock Posted December 28, 2012 Author Share Posted December 28, 2012 Tutorial Has Been Updated! Link to comment Share on other sites More sharing options...
hisherwin Posted December 29, 2012 Share Posted December 29, 2012 This is not a HardCode ,it's just a real static and can't be changed at Config.ini not really a good idea . but nice Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2012 Share Posted December 29, 2012 > This is not a HardCode ,it's just a real static and can't be changed at Config.ini not really a good idea . but niceYou are genuinely a moron aren't you? "Hardcode" isn't "difficult code", it's code that is unchangeable outside the source. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now