Evidence of the activity can be found on the bugtracker ( bugs.renegadeprojects.com). Here you will see it is still being worked on actively. The forums are a less active than here, yes, but they get the job done with discussion for ares benefit.
Also. Ares has more than one coders, go on the Renegade Projects IRC to meet them. QUICK_EDIT
Ah okay thanks. I want to learn more from them. Actually I registered in RenegadeProjects with the username Anonymous and...I'm the only one who is active with a few guests and bots.
I have a sample of my skill;
Code:
#include <stdio>
#include <conio>
void main (void)
{
int x = 1;
int *ptr;
ptr = &x;
*ptr = 10;
printf("The value of x is %d", x);
getch();
}
Is my coding skills worthy yet? Although I didn't show my full knowledge because my brain is exhausted. _________________ Ponies are not awesome. Kill all bronies with fire. QUICK_EDIT
The shown piece of code is something any new programmer with more than 3 weeks of C experience can do.
conio(.h) isn't part of the C standard too, but fair enough.
You are a good programmer/nerd/whatever if you can say what this piece of code does, within 5 minutes:
Code:
int state;
for (i=state=0; i<l; ++i)
if ((state = (c[i]=='\r' || c[i]=='\n') ?
(state >> 2) | (( c[i] << 6) & 0xc0 ) : 0) >= 0xa0 ||
state == 0x99)
return i+1;
I'm not part of Ares BTW.
EDIT: Just saw...NEVER EVER use void as return type for main. QUICK_EDIT
EDIT: Just saw...NEVER EVER use void as return type for main.
Why? PROTIP: I use void for main() all the time.
Then again, I do more C# than C++. _________________ KGR | AT
AZUR
Discord: theastronomer1836
Steam Last edited by FurryQueen on Thu Sep 16, 2010 5:45 pm; edited 1 time in total QUICK_EDIT
void main (void) is kinda redundant since the return type is already void. () just means additional arguments and if you're not going to return anything, you wouldn't need them. But, as DCoder linked me to, main() is special and cannot have void as the return type.
main() is special and cannot have void as the return type.
Huh? Was that a correction or are you contradicting yourself?
According to the C99 Standard, void main([Arguments or not]) is not allowed, and can, in fact, cause problems. Many compilers still eat it though.
I don't know any C#, so I don't know how the situation looks over there.
I have a feeling we are a bit offtopic now. QUICK_EDIT
void *__stdcall sub_420140(int a1)
{
int v1; // eax@1
int v2; // ecx@2
void *v3; // eax@5
void *v4; // ebp@5
void *v5; // ebx@6
int v6; // edi@6
signed int v7; // esi@6
int v8; // edx@7
__int16 v9; // cx@9
void *result; // eax@11
int v11; // eax@18
v1 = 0;
if ( dword_88A090 <0>> * (unsigned __int8)v7 / 32258;
if ( v8 > v6 )
LOBYTE(v = v6;
LOBYTE(v9) = 0;
++v7;
HIBYTE(v9) = v8;
*(_WORD *)v5 = v9;
v5 = (char *)v5 + 2;
}
while ( v7 <= 65535 );
}
else
{
v4 = 0;
}
if ( dword_88A090 <dword_88A088> 0
&& (unsigned __int8)(*(int (__thiscall **)(int *, int, _DWORD))(dword_88A080 + )(
&dword_88A080,
dword_88A088 + dword_88A094,
0) )
{
v11 = dword_88A090++;
*(_DWORD *)(dword_88A084 + 4 * v11) = v4;
}
++*((_DWORD *)v4 + 32769);
result = v4;
}
else
{
v2 = dword_88A084;
while ( *(_DWORD *)(*(_DWORD *)v2 + 131072) != a1 )
{
++v1;
v2 += 4;
if ( v1 >= dword_88A090 )
goto LABEL_5;
}
++*(_DWORD *)(*(_DWORD *)(dword_88A084 + 4 * v1) + 131076);
result = *(void **)(dword_88A084 + 4 * v1);
}
return result;
}
// 88A080: using guessed type int dword_88A080;
// 88A084: using guessed type int dword_88A084;
// 88A088: using guessed type int dword_88A088;
// 88A08D: using guessed type char byte_88A08D;
// 88A090: using guessed type int dword_88A090;
// 88A094: using guessed type int dword_88A094;
Na, anyway, glad to see ya learning programming Untrue. and maybe someday you can figure out WestWoods Madness Good luck to your programming future. QUICK_EDIT
Huh? Was that a correction or are you contradicting yourself?
Both actually. I'm certified for C# so I use void main() frequently. I'm not much of a C++ guy; though I can read it and understand most of it. _________________ KGR | AT
AZUR
Discord: theastronomer1836
Steam QUICK_EDIT
Joined: 05 Mar 2007 Location: Less than 10 minutes from the internet
Posted: Fri Sep 17, 2010 12:36 pm Post subject:
I finally got back into some C++ after over a year of not needing much of it. Since then, I picked up Java once again (I used it for 3 years in high school), learned two types of assembler (x86 was the fun one), built my own Turing machine emulator, and now Im learning about databases, security, programming language structure, and a software engineering practices.
Unfortunately, school takes up alot of time for me right now, so I cant come here as often. _________________
void main (void) is kinda redundant since the return type is already void. () just means additional arguments and if you're not going to return anything, you wouldn't need them. But, as DCoder linked me to, main() is special and cannot have void as the return type.
Thanks for the source. This will help me in my programming.
Alurcas wrote:
Hi.
The shown piece of code is something any new programmer with more than 3 weeks of C experience can do.
conio(.h) isn't part of the C standard too, but fair enough.
You are a good programmer/nerd/whatever if you can say what this piece of code does, within 5 minutes:
Code:
int state;
for (i=state=0; i<l>> 2) | (( c[i] <<6>= 0xa0 ||
state == 0x99)
return i+1;
I'm not part of Ares BTW.
EDIT: Just saw...NEVER EVER use void as return type for main.
Cranium wrote:
Here, figure this out
void *__stdcall sub_420140(int a1)
{
int v1; // eax@1
int v2; // ecx@2
void *v3; // eax@5
void *v4; // ebp@5
void *v5; // ebx@6
int v6; // edi@6
signed int v7; // esi@6
int v8; // edx@7
__int16 v9; // cx@9
void *result; // eax@11
int v11; // eax@18
v1 = 0;
if ( dword_88A090 <0>> * (unsigned __int8)v7 / 32258;
if ( v8 > v6 )
LOBYTE(v = v6;
LOBYTE(v9) = 0;
++v7;
HIBYTE(v9) = v8;
*(_WORD *)v5 = v9;
v5 = (char *)v5 + 2;
}
while ( v7 <= 65535 );
}
else
{
v4 = 0;
}
if ( dword_88A090 <dword_88A088> 0
&& (unsigned __int8)(*(int (__thiscall **)(int *, int, _DWORD))(dword_88A080 + )(
&dword_88A080,
dword_88A088 + dword_88A094,
0) )
{
v11 = dword_88A090++;
*(_DWORD *)(dword_88A084 + 4 * v11) = v4;
}
++*((_DWORD *)v4 + 32769);
result = v4;
}
else
{
v2 = dword_88A084;
while ( *(_DWORD *)(*(_DWORD *)v2 + 131072) != a1 )
{
++v1;
v2 += 4;
if ( v1 >= dword_88A090 )
goto LABEL_5;
}
++*(_DWORD *)(*(_DWORD *)(dword_88A084 + 4 * v1) + 131076);
result = *(void **)(dword_88A084 + 4 * v1);
}
return result;
}
// 88A080: using guessed type int dword_88A080;
// 88A084: using guessed type int dword_88A084;
// 88A088: using guessed type int dword_88A088;
// 88A08D: using guessed type char byte_88A08D;
// 88A090: using guessed type int dword_88A090;
// 88A094: using guessed type int dword_88A094;
I cannot make this one work since my compiler is Borland 4.5 C++ which is really old. Also you're using too much alterations there, Alurcas. Anyway the codes that you guys are throwing in to me are really, really hard. This shows how professional programmer you guys are. >.<
Cranium wrote:
Na, anyway, glad to see ya learning programming Untrue. and maybe someday you can figure out WestWoods Madness Good luck to your programming future.
Thanks.
FurryQueen wrote:
Both actually. I'm certified for C# so I use void main() frequently. I'm not much of a C++ guy; though I can read it and understand most of it.
Well for me, the main reason why I use void main (void) is because I don't write scripts inside the function main. Instead that's where I put all of the related functions in it. _________________ Ponies are not awesome. Kill all bronies with fire. QUICK_EDIT
This shows how professional programmer you guys are. >.<
Not me, I'm no programmer by far. I know a little HTML and Java script thats about it. That code I posted is an actual code from the gamemd.exe, and I couldnt tell you what it says or does if I tried. QUICK_EDIT
This shows how professional programmer you guys are. >.<
Not me, I'm no programmer by far. I know a little HTML and Java script thats about it. That code I posted is an actual code from the gamemd.exe, and I couldnt tell you what it says or does if I tried.
That's great. Do you have the source code of the machine? If then what's the use of creating a new software patch? _________________ Ponies are not awesome. Kill all bronies with fire. QUICK_EDIT
Neither is the code I posted above by me nor am I a professional programmer. It's an highly optimized version of this code, which is in turn part of the gatling web server.
Code:
for (i=0; i+1<l; ++i) {
if (c[i]=='\n' && c[i+1]=='\n')
return i+2;
if (i+3<l &&
c[i]=='\r' && c[i+1]=='\n' &&
c[i+2]=='\r' && c[i+3]=='\n')
return i+4;
}
Na, this inst the source code nor do I have it. this is just part of the code from my decompiled .exe. the source code will never, ever be distributed. Nobody will ever get a hold of it. WW/EA probably dont even have it anymore. Though I'm sure one of them was sneaky enough to make a copy of it, yet we will still never see it. From what I understand DCoder was able to decompile it far enough to understand it, but most of us arent that gifted enough to understand it like he does. You should get in touch with him. He can probably give you some good tips and show you some things. Besides I'm sure they wouldnt mind an extra hand over there. QUICK_EDIT
Na, this inst the source code nor do I have it. this is just part of the code from my decompiled .exe. the source code will never, ever be distributed. Nobody will ever get a hold of it. WW/EA probably dont even have it anymore. Though I'm sure one of them was sneaky enough to make a copy of it, yet we will still never see it. From what I understand DCoder was able to decompile it far enough to understand it, but most of us arent that gifted enough to understand it like he does. You should get in touch with him. He can probably give you some good tips and show you some things. Besides I'm sure they wouldnt mind an extra hand over there.
So where can I find this 'DCoder' guy? _________________ Ponies are not awesome. Kill all bronies with fire. QUICK_EDIT
At the forums of Renegade Projects Network
There is a chat as well, but I dont have the link right now. Just create a topic at the right place and start sharin'! _________________ QUICK_EDIT
I don't know but I can't get in to the chat. It says I'm banned or something. :\ _________________ Ponies are not awesome. Kill all bronies with fire. QUICK_EDIT
I dont know, just pick a nickname and enter!
You dont have to create an account for that.
Maybe they already know they are better and banned you before you could even enter . No, just kidding. I dont know. I can enter and leave whenever I want _________________ QUICK_EDIT
Yeah, that ban message is weird. It's German but it doesn't mean anything. It's not from RenProj, though. You aren't banned there. _________________ QUICK_EDIT
I was able to join #RenProj using mIRC. I am now learning decompilers and assemblers. _________________ Ponies are not awesome. Kill all bronies with fire. QUICK_EDIT
Joined: 24 May 2004 Location: Flanders (Be) Posts:300000001
Posted: Mon Sep 20, 2010 8:43 pm Post subject:
Cranium wrote:
Here, figure this out
void *__stdcall sub_420140(int a1)
{
...
}
No fair bombarding him with disassembled code, lol. I don't now much C++ at all, but I'm still hacking. I feel a LOT more comfortable with pure asm than this C generated from it though. _________________ QUICK_EDIT
the source code will never, ever be distributed. Nobody will ever get a hold of it. WW/EA probably dont even have it anymore. Though I'm sure one of them was sneaky enough to make a copy of it, yet we will still never see it. From what I understand DCoder was able to decompile it far enough to understand it, but most of us arent that gifted enough to understand it like he does.
There are a few of us, not just DCoder. Also, regarding the source code, the community will never see it, but what goes on behind the scenes you will never know. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum