Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Swollow

Pages: 1 [2] 3 4 5 6 7 ... 597
16
Modification Help / Re: Finding Dynamic Fields on SimObject
« on: September 17, 2018, 11:39:58 AM »
while you guys were thinking about the right way of doing this I was busy theorizing the absolute worst ways to go about this

Code: [Select]
function findStuffOnObject(%obj,%lenToCheck)
{
if(%lenToCheck $= "")
%lenToCheck = 4;
%master = new simObject()
{
allowed = "abcdefghijklmnopqrstuvwxyz_1234567890";
len = 0;
latch = %obj;
foundCnt = 0;
};
%master.allowedLen = strLen(%master.allowed);
for(%i=0;%i<%master.allowedLen;%i++)
{
%master.chr[%i] = getSubStr(%master.allowed,%i,1);
}
%time = getRealTime();
while(%master.len<%lenToCheck)
{
%master.len++;
STARTOBJECTATTACK(%master);
}
echo("Operation complete for length of " @ %lenToCheck @ " in " @ ((getRealTime()-%time)/1000) @ " seconds");
for(%i=0;%i<%master.foundCnt;%i++)
{
%found = %master.found[%i];
%key = getField(%found,0);
%len = getFieldCount(%found);
%val = "";
for(%a=1;%a<%len;%a++)
{
%val = %val @ (%a > 1 ? "\t" : "") @ getField(%found,%a);
}
echo("FOUND FIELD " @ %key @ " = " @ %val);
}
%master.delete();
}
function STARTOBJECTATTACK(%master)
{
%last = %master.len-1;
objectforget(0,%master,%last);
}
function genStrFromMaster(%master)
{
%str = "";
for(%i=0;%i<%master.len;%i++)
%str = %str @ %master.test[%i];
return %str;
}
function checkIfAnObjectContainsAVariableString(%obj,%str)
{
%chr = getSubStr(%str,0,1);
%str = getSubStr(%str,1,256);
switch$(%chr)
{
case "a": return %obj.a[%str];
case "b": return %obj.b[%str];
case "c": return %obj.c[%str];
case "d": return %obj.d[%str];
case "e": return %obj.e[%str];
case "f": return %obj.f[%str];
case "g": return %obj.g[%str];
case "h": return %obj.h[%str];
case "i": return %obj.i[%str];
case "j": return %obj.j[%str];
case "k": return %obj.k[%str];
case "l": return %obj.l[%str];
case "m": return %obj.m[%str];
case "n": return %obj.n[%str];
case "o": return %obj.o[%str];
case "p": return %obj.p[%str];
case "q": return %obj.q[%str];
case "r": return %obj.r[%str];
case "s": return %obj.s[%str];
case "t": return %obj.t[%str];
case "u": return %obj.u[%str];
case "v": return %obj.v[%str];
case "w": return %obj.w[%str];
case "x": return %obj.x[%str];
case "y": return %obj.y[%str];
case "z": return %obj.z[%str];
case "_": return %obj._[%str];
}
return "";
}
function objectforget(%curr,%master,%last)
{
%next = %curr+1;
%len = %master.allowedLen;
if(%curr == 0)
%len -= 10;
for(%i=0;%i<%len;%i++)
{
%master.test[%curr] = %master.chr[%i];
if(%curr < %last)
{
objectforget(%next,%master,%last);
}
else
{
%str = genStrFromMaster(%master);
%var = checkIfAnObjectContainsAVariableString(%master.latch,%str);
if(%var !$= "")
{
%master.found[%master.foundCnt] = %str @ "\t" @ %var;
%master.foundCnt++;
}
}
}
}

I present variable name brute forcing on an object

Initialize an object

search for 1-3 character length variables

search for 1-4 character length variables


benchmark for 5 character length variables would probably take a reasonable 20 minutes but I don't have the patience for that

17
Off Topic / Re: Welp, I've been here for 10 years [now image heavy]
« on: September 17, 2018, 09:49:18 AM »
post here to support tbm

19
Off Topic / Re: 10 years ago I made an account
« on: September 04, 2018, 08:49:01 PM »

you were supposed to say gay for you, but i still love you

20
Off Topic / Re: 10 years ago I made an account
« on: September 04, 2018, 08:38:25 PM »
what are you, gay?

21
browser and what javascript extension thing are you using?

22
but i do have to say, you cant zoom in on pictures someone uploaded with the upload file button, and some pictures from external sources are black and white for some reason
i do not experience either one of these things

23
Off Topic / Re: are you a summer or winter mofo?
« on: August 19, 2018, 03:48:54 PM »
i loving love winter and fall

24
Is it possible for you to put the code in a pastebin and post that link? the css download will not work for me
try opening it in an incognito/private browsing window

25
Off Topic / Re: RIP Emulators and ROMs
« on: August 11, 2018, 03:53:39 AM »
its legal to have as many copies of the game for personal use if you also own the original content
its legal to use an emulator with a system bios if you own the system
romhacking a game you have previously purchased from nintendo is legal and falls under fair use, distributing a patch file that is intended to be used in conjunction with the rom file is also legal and falls under fair use

26
Off Topic / Re: what the forget are these avatar settings
« on: July 24, 2018, 03:23:36 AM »
actually laughed out loud

27
easy mode create a text file with the file extension .reg
paste this into there and save, run it and accept all the scary message boxes

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\http\shell\open\command]
@="\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" %1"

28
hit windows key+r
type regedit
hit enter
confirm the uac prompt
navigate to this folder (you can paste it into the top bar and hit enter): HKEY_CLASSES_ROOT\http\shell\open\command
on the right pane right click the thing that say (Default)
click modify
if you are using chrome and have chrome installed to the default location paste this in, if you are using a different browser or have chrome installed elsewhere, figure it out
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" %1
if blockland is running, restart it

vous gagnez

29
Modification Help / Re: Which program should i use for modeling
« on: July 23, 2018, 04:45:20 AM »
if you put in an hour or two and learn blender instead of sketchup you will be far far far better off, as far as I'm concerned sketchup shouldn't be used for modelling at all its for real world engineering design like building interiors/exteriors and landscaping

30
why don't you just add the registry entries its searching for?

Pages: 1 [2] 3 4 5 6 7 ... 597