Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] Source edits


frankpetrov
 Share

Recommended Posts

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 VB6
Step 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 VB6
Step 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...