View Full Version : Tweaks & Maps & Online = crash???
Hi all! I am Gerich. I am from Russia, so my English is not so good:)
I try to cheat the game. And i ve created this program (http://w4tweaks.ucoz.ru/_ld/0/19_W4MapListEditor.rar). It is a W4MapListEditor by Gerich.
http://w4tweaks.ucoz.ru/_ph/5/480822626.jpg
It just edits /data/tweak/scripts.xml. It is not hard to use. Just select your Worms 4 folder, and edit the list. After this program i ve inveted a new program W4++ - extended launcher for w4mayhem. it looks like that:
http://w4tweaks.ucoz.ru/_ph/5/2/848513678.jpg
The idea of the program is to combine new maps and new tweaks. But i have one big problem! If another player don't have map with this id in Scripts.xml the game crashes((( it happen when in the online game you moving your mouse over his game.
Can you help me? I really want to create this program! Thx:)
_Kilburn
12 Feb 2008, 10:29
Sorry, there is no way to make the other player download your map when he joins your game. :( And it seems that there is no way to fix the crashing when hovering your mouse over a game that has a map you don't have.
Yes i know that! But maybe you don't understand me. I'll tell you my idea. My launcher have a main window(see screenshot). Uou can select a map pack and a mod pack. Every pack has his own id. When you select a map pack and a mod pack, you get a new compound id, and it is used like a base for every id of map in Scripts.xml. You will get a new list like that:
<?xml version='1.0' ?>
<xomArchive>
<xomObjects>
<XDataBank id='id-0'>
<Section>0</Section>
...
<ContainerResources href='mappackID.modpackID.MapName'/>
...
</XDataBank>
...
<XContainerResourceDetails id='mappackID.modpackID.MapName'>
<Value href='mappackID.modpackID.MapName-0'/>
<Name>'mappackID.modpackID.MapName</Name>
<Flags>80</Flags>
</XContainerResourceDetails>
<WXFE_LevelDetails id='mappackID.modpackID.MapName-0'>
<Frontend_Name>DisplayedMapName</Frontend_Name>
<Frontend_Briefing>1</Frontend_Briefing>
<Frontend_Image>TGAIMAGE.tga</Frontend_Image>
<Level_ScriptName>stdvs,wormpot</Level_ScriptName>
<Level_FileName>MapName</Level_FileName>
<Objectives></Objectives>
<Level_Number>3</Level_Number>
<Level_Type>0</Level_Type>
<Lock>0</Lock>
<Theme_Type>5</Theme_Type>
<Preview_Type>0</Preview_Type>
<BonusTime>600</BonusTime>
</WXFE_LevelDetails>
...
</xomObjects>
</xomArchive>
I want to make an upgrade of w4 in which if map with other id doesn't exists in your Scripts.xml then you will not see it.
Another variant is to emulate LAN connection with program like Hamachi.
_Kilburn
12 Feb 2008, 14:38
Oh, I see what you want to do. I don't think it's possible, since you can't create conditions in XML files, and as far as I know, menus are not Lua scripted.
An alternative variant is to use some LAN emulator. I ve tried to use Hamachi, but it doesn't work with worms 4 mayhem(( Maybe you know the reason or you know another similar program? And it will be very-very good if you know any dll libraries for emulating local networks, because i want to use connection to the network from launcher.
thomasp
12 Feb 2008, 16:10
I should probably point out this stickied thread here: http://forum.team17.co.uk/showthread.php?t=25887
_Kilburn
12 Feb 2008, 16:38
An alternative variant is to use some LAN emulator. I ve tried to use Hamachi, but it doesn't work with worms 4 mayhem(( Maybe you know the reason or you know another similar program? And it will be very-very good if you know any dll libraries for emulating local networks, because i want to use connection to the network from launcher.
Hamachi works fine with me. But a DLL would be great, you're right. I don't know if there is any library for making virtual private networks, just search on Google.
I should probably point out this stickied thread here: http://forum.team17.co.uk/showthread.php?t=25887
True. Keep your maps offline, it's not really cool to make people crash each time they move their mouse over your game.
Anyway, it's funny how there are more and more people who bring cheap modified team weapons online and don't get insta-banned. :p
ok! I know i should keep it offline. But i am trying to find a way to make safe online game with new mods and maps. The first idea was about maps with new id is invisible.... but it doesn't work(((( but i will try again)))
AlexBond
24 Feb 2008, 14:37
It really bad, is good that I play in W3D, there havn't this Bug, but have many others =) . Main bug it Unsynchronism data of players!!!!!!
It really bad, is good that I play in W3D, there havn't this Bug, but have many others =) . Main bug it Unsynchronism data of players!!!!!!
Yes,but i've fond a solution of this problem,yo know,AlexBond!=)
And now I make a map pack for worms 4
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.