• Welcome to Valhalla Legends Archive.
 
Menu

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.

Show posts Menu

Messages - defcore

#1
Gaming Discussion / Re: CS 1.6 Account
May 07, 2006, 12:38 PM
CS is $20.

I'm a poor college student, every dollar counts!
#2
Java Programming / Re: Stoping Flickers
May 07, 2006, 10:04 AM
Quote from: gameschild on March 08, 2006, 06:48 PM
Quote from: HdxBmx27 on March 07, 2006, 10:15 PM
No such luck.
And the assighment needs to be re-sizeable.
(Stoping the flicker is jsut for me, it has annoyed me to much)
~-~(HDX)~-~


createBufferStrategy(2);
BufferStrategy strategy = getBufferStrategy();
Graphics2D g = (Graphics2D) strategy.getDrawGraphics();
g.setColor(Color.black);
g.fillRect(0,0,800,600);
                  strategy.show();

This is what i used on a game i wrote in Java, not sure if it helps.


This is called accelerated 2d graphics in Java. Google "Accelerated Graphics", and read up on double buffering and buffer strategies.
http://www.cokeandcode.com/info/tut2d.html -- might be a good start.
#3
Gaming Discussion / CS 1.6 Account
May 07, 2006, 09:58 AM
Anyone have an old 1.6 account they're looking to get rid of? I'm in need of an additional one and thought I'd try to see if anyone on various forums would like to sell theirs. It's not much but I'm willing to pay $10 for it.
#4
Actually, the file server is a "demo" application developed by some guys in the "Georgia Tech's Reverse Engineering Group". They have submitted various challenges and reverse-me's on the local newsgroups on campus. I've also posted this question on the newsgroups, but they haven't been very active lately, probably due to the semester ending soon.

I'm just doing this for the sake of learning.
#5
/WHOAMI -- Introductions / Hello
April 26, 2006, 02:57 PM
Stumbled upon this website while googling some reverse engineering topics. It is not specifically what I was hunting for, but there seems to be a plethora of information on here, so I'll stick around, learn, and see if I can contribute.
#6
I am playing with a linux (ELF) file server programmed in C. Unfortunately I do not have the source, so I've been poking around in it with IDA, in hopes to add some additional functionality.

I am wanting to increase the size of the following data structure:

.bss:081960C8 ; void dword_81960C8
.bss:081960C8 dword_81960C8   dd ?                    ; DATA XREF: sub_8049694+76o
.bss:081960C8                                         ; sub_8049694+FBCo ...
.bss:081960CC                 db    ? ;
.bss:081960CD                 db    ? ;
.bss:081960CE                 db    ? ;
.bss:081960CF                 db    ? ;
.bss:081960D0                 db    ? ;
.bss:081960D1                 db    ? ;
.bss:081960D2                 db    ? ;
.bss:081960D3                 db    ? ;
.bss:081960D4                 db    ? ;
.bss:081960D5                 db    ? ;
.bss:081960D6                 db    ? ;
.bss:081960D7                 db    ? ;
.bss:081960D8                 db    ? ;
.bss:081960D9                 db    ? ;
.bss:081960DA                 db    ? ;
.bss:081960DB                 db    ? ;
.bss:081960DC                 db    ? ;
.bss:081960DD                 db    ? ;
.bss:081960DE                 db    ? ;
.bss:081960DF                 db    ? ;
.bss:081960E0                 db    ? ;
.bss:081960E1                 db    ? ;
.bss:081960E2                 db    ? ;
.bss:081960E3                 db    ? ;
.bss:081960E4                 db    ? ;
.bss:081960E5                 db    ? ;
.bss:081960E6                 db    ? ;
.bss:081960E7                 db    ? ;
.bss:081960E8 dword_81960E8   dd ?                    ; DATA XREF: sub_804E688+38w


It is currently 32 bytes (081960C8 - 081960E7), and I'd like to extend it to 64 bytes. I'm not really sure on how to go about doing this.

I am guessing that I'll have to (in theory) edit the ELF header, increase the size of my .bss section, and accordingly update the affected offsets? I don't know how to start doing this, and I'd appreciate any information.

Thanks.

(SOLVED)

Solution:

I had to read up on the format of the elf header. It took some time figuring out how it worked and how to edit it.
I edited the ELF header to increase the size of the .bss section by 100 bytes. Then I relocated my data structure to my newly created space and updated all the offsets to point to my newly created data structure.

Works like a charm.