frankpetrov Posted April 5, 2011 Author Share Posted April 5, 2011 1st edit is to keep other people from using your client for their own game or from players using your client for other servers.Step 1: Open up the Client in VB6Step 2: search for "frmMain.Socket.RemoteHost = "Options.IP" without the quotes, in the modClientTCP.Step 2: change Options.IP to whatever your IP will be.Step 3: Delete the IP line in the config file for the client.Done.2nd edit is actually quite easy. this is a server edit though. it logs and shows in the console everytime someone spawns an item so you can catch any abusing admins/mods. it gives the item number and how many.Step 1: Open up the server in VB6Step 2: Search for "SpawnItem tmpItem, tmpAmount, GetPlayerMap(index), GetPlayerX(index), GetPlayerY(index)" without the quotes, in modHandleData.right below it, copy and paste this code:```Call AddLog(GetPlayerLogin(index) & " has spawned item number " & tmpItem & " to the amount of " & tmpAmount & " On map " & GetPlayerMap(index) & ".", PLAYER_LOG) Call TextAdd(GetPlayerLogin(index) & " has spawned item number " & tmpItem & " to the amount of " & tmpAmount & " On map " & GetPlayerMap(index) & ".")```Done!Don't forget to compile them afterwards of course. These may have already been released but i could not find it. I hope these help someone. Link to comment Share on other sites More sharing options...
erkro1 Posted April 7, 2011 Share Posted April 7, 2011 Pretty nice edits, good job ;)And I think this needs to be in Source Tutorials.. Link to comment Share on other sites More sharing options...
Conra Posted April 14, 2011 Share Posted April 14, 2011 Pretty nice. Should be using them. Link to comment Share on other sites More sharing options...
McCull96 Posted April 14, 2011 Share Posted April 14, 2011 Coolio Link to comment Share on other sites More sharing options...
Sada Posted April 15, 2011 Share Posted April 15, 2011 This would be nice for people who have a domain or static IP, If you are hosting from your computer and have a dynamic ip, this is probably a very bad idea (the permenant ip thing in the client) Link to comment Share on other sites More sharing options...
Link Posted April 15, 2011 Share Posted April 15, 2011 Thanks, this was a useful release. 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