MODIFY ENERGY AND METAL RESSOURCE VALUE AT GAME START (LAN)

MODIFY ENERGY AND METAL RESSOURCE VALUE AT GAME START (LAN)

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
stisoas
Posts: 4
Joined: 02 May 2005, 11:04

MODIFY ENERGY AND METAL RESSOURCE VALUE AT GAME START (LAN)

Post by stisoas »

Hi all.
i got 2 question. a simple , and a quit not simple .


i cant play with my brother on battleroom , because where are so in a lan area, with a gateway.

my game computer get all port forwarded to it , i use iptables on linux 2.6
tcp 4897 + tcp/udp 84xx.

i can host , but unfortunely , i cant play in room with my bro on an internet server....

(i tought about SNAT. like these port are already used by box1 , aybe i could add a snat and tag all box2 packet for changing sport to other than these default 's one ??? bvut how can i forwarded server reponse's packet to my 2nd box ??? i think its simpossible but if someone have an idea ..... )

iptables -t nat -A PREROUTING -s ! 192.168.0.0/255.255.255.0 -p tcp --dport 4897 -j DNAT --to-destination 192.168.0.253

that's my port forwarding for the 4897.

if a add an snat and change the 4897 to 4898 for the 2nd box, Will to server room respond on the prot 4898 ? (in this case i could forwarded new port)

2nd.

So we cant play together on internet, i tried to play on lan.
its seem to work , but i cant use any manual script (it crash always dont know why)
But i need to restore the std value for energy and metal start quantities.
We dotn want pklay with this cheat..



Regards....


:D
Liam
Posts: 93
Joined: 02 Nov 2004, 22:43

Post by Liam »

edit the script.txt in your ta spring folder, you can probably figure most of it out, or there's a sample one in the source code (under the documentation folder, spring start.txt) then run spring.exe script.txt from the command line, i think this will help your problem
Post Reply

Return to “Help & Bugs”