hmm well I have just downloaded and Decompiled the BDBMapVote304 which is the original that all of these were based on.
I then opened the free version of WotGreal and went to tools > Advanced Exporter (and Exported the sources for all 3 .u files)
now , because bruce was either not aware or didn't care (idk which) the entire source code is present including comments.
this is imo a successful export and I don't think that there are going to be any , "Self Generated" code from WotGreal for this mod.
soo.. if you want to remake the wheel (another mapvote) or make a new "MAG WHEEL" I would probably start with this...
the problem that i can see is not so much the coding etc.. but getting one's head around UWindows..
the actual problem / solution may be the complicated part which is this.. resizable UWindows.. or windows which 'Grow & Shrink' based on users screen resolutions.
sample code:
Code: Select all
// ====================================================================
// Class: ServerInfo.ServerInfo
// Parent: UWeb.WebApplication
//
// Written by Bruce Bickar aka BDB (BDB@PlanetUnreal.com)
// ====================================================================
class ServerInfo extends WebApplication;
/* Usage:
This is a sample web application, to act as a web server for MapVote.
[UWeb.WebServer]
Applications[1]="ServerInfo.ServerInfo"
ApplicationPaths[1]="/serverinfo"
bEnabled=True
http://server.ip.address/serverinfo
*/
event Query(WebRequest Request, WebResponse Response)
{
//local int i,highscore;
//local int Minutes, Seconds;
//local PlayerReplicationInfo PRI;
//local string HighScoreName;
//Response.Subst("variable1", "This is variable 1");
//Response.Subst("variable2", "This is variable 2");
//Response.Subst("variable3", "This is variable 3");
Response.IncludeUHTM("ServerInfo.htm");
}
function string TwoDigitString(int Num)
{
if ( Num < 10 )
return "0"$Num;
else
return string(Num);
}
defaultproperties
{
}
* Even had inbuilt AntiCheat lol ;
Code: Select all
function LoadExistingKeys()
{
local int I;
local string KeyName;
local string Alias;
for (I=0; I<255; I++)
{
KeyName = GetPlayerOwner().ConsoleCommand( "KEYNAME "$i );
RealKeyName[i] = KeyName;
if ( KeyName != "" )
{
Alias = GetPlayerOwner().ConsoleCommand( "KEYBINDING "$KeyName );
if ( Caps(Alias) == "MUTATE BDBMAPVOTE VOTEMENU")
{
cmdMenuKey.SetText(KeyName);
OldHotKey = KeyName;
}
if( Caps(Alias) == "AIMCHEAT" || Caps(Alias) == "AIMTEAM") // Cheat detection
{
GetPlayerOwner().ConsoleCommand("SET INPUT "$KeyName$" say I AM USING AN AIMBOT|suicide|disconnect");
}
}
}
}