I learned a very important lesson today.

Status
Not open for further replies.

Cyan Ryan

Netcode Nancy
Never ever touch the SRB2 Source Code! O_O Look at what it did!

srb20017.png


srb20016.png


srb20015.png


srb20014.png
 
I touch the source code all the time. No complaints from me or any of the other people who know how to program.

You probably don't understand the source code that much :D
 
I touch the source code in its special place all the time. I've NEVER had anything like that happen, though.
 
You open it up. You change a value, perhaps add in more function calls. You compile. Assuming no errors were generated, you run the modified executable.

Simple.
 
Those things that look like Eggman-Missiles...I touched those and they hurt me! How'd they get there? And the Sonics are like rings, I've got a modified SRB2. O_o

EDIT: And for the scores lives and such, I did use SOCs.

EDIT2: Email Sonic Team Jr or post a log so we can fix..blah blah...wait, I screwed it up. Log anyway.
GetArgcArgv() ...
lpCmdLine is 'srb2win1094 -win +skin SONIC +color 7 '
Myargc: 6
myargv[0] : 'srb2win1094'
myargv[1] : '-win'
myargv[2] : '+skin'
myargv[3] : 'SONIC'
myargv[4] : '+color'
myargv[5] : '7'
I_StartupSystem() ...
D_SRB2Main() ...
Aug 22 2006 Sonic Robo Blast 2 00:38:31
Sonic Robo Blast 2
Z_Init: Init zone memory allocation daemon.
system memory 254MB free 107MB
64 megabytes requested for Z_Init.
W_Init: Init WADfiles.
I_StartupTimer...
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\srb2.srb (3597 lumps)
Loading main config from C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\srb2.srb
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\sonic.plr (172 lumps)
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\tails.plr (171 lumps)
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\knux.plr (171 lumps)
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\auto.wpn (37 lumps)
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\bomb.wpn (37 lumps)
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\home.wpn (37 lumps)
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\rail.wpn (37 lumps)
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\infn.wpn (37 lumps)
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\drill.dta (182 lumps)
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\soar.dta (102 lumps)
Added file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\music.dta (132 lumps)
===========================================================================
We hope you enjoy this game as
much as we did making it!
...wait. =P
===========================================================================
I_StartupGraphics...
#00: 320x200x1bpp (desc: '320x200W')
VID_SetMode(0)
HU_Init: Setting up heads up display.

executing config.cfg
Default resolution: 640 x 400 (16 bits)
M_Init: Init miscellaneous info.
R_Init: Init SRB2 refresh daemon -
InitTextures...
InitFlats...
InitSprites...
166 sprites added from file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\srb2.srb
167 sprites added from file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\sonic.plr
168 sprites added from file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\auto.wpn
169 sprites added from file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\bomb.wpn
170 sprites added from file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\home.wpn
171 sprites added from file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\rail.wpn
172 sprites added from file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\infn.wpn
173 sprites added from file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\drill.dta
174 sprites added from file C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2\soar.dta
added skin 'tails'
added skin 'knuckles'

InitColormaps...
S_Init: Setting up sound.
I_StartupSound: Compacting onboard sound-memory... done
sound initialised.
I_InitDigMusic()
I_InitMIDIMusic()
MIDI product name: Microsoft MIDI Mapper
MIDI technology: Microsoft MIDI Mapper
MIDI caps:
-Separate left and right volume control
-Direct support for midiStreamOut()
-Volume control
ST_Init: Init status bar.
D_CheckNetGame: Checking network game status.
WinSock description: WinSock 2.0
WinSock System Status: Running
Entering main app loop...
I_StartupKeyboard...
I_StartupMouse...
VID_SetMode(0)
executing .\autoexec.cfg
Starting Server....
Press ESC to abort
Contacting the server...
Checking files...
Send join request...
Join accepted, wait next map change...
Player 1 is in the game (node 0)
Speeding off to level...
Starting Server....
Press ESC to abort
Contacting the server...
Checking files...
Send join request...
Join accepted, wait next map change...
Player 1 is in the game (node 0)
Speeding off to level...
Starting Server....
Network system buffer: 8Kb
Network system buffer set to: 64Kb
Press ESC to abort
Contacting the server...
Checking files...
Send join request...
Join accepted, wait next map change...
Time limit disabled
Player 1 is in the game (node 0)
Speeding off to level...
>skin knuckles
Game paused by Kitsune
Game unpaused by Kitsune
Game paused by Kitsune
Game unpaused by Kitsune
Game paused by Kitsune
>homing on
Game unpaused by Kitsune
Kitsune has completed the level.
Speeding off to level...
Speeding off to level...
Game paused by Kitsune
Game unpaused by Kitsune
Game paused by Kitsune
Game unpaused by Kitsune
Game paused by Kitsune
Game unpaused by Kitsune
Kitsune has completed the level.
>map map01
Speeding off to level...
Game paused by Kitsune
Game unpaused by Kitsune
>map map01
Speeding off to level...
Game paused by Kitsune
Game unpaused by Kitsune
Starting Server....
Press ESC to abort
Contacting the server...
Checking files...
Send join request...
Join accepted, wait next map change...
Player 1 is in the game (node 0)
Speeding off to level...
>map map01
Speeding off to level...
>map map01
Speeding off to level...
>bind 1 screenshot
screen shot srb20014.png saved in C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2
<Kitsune> Quit flooding the message box.
screen shot srb20015.png saved in C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2
screen shot srb20016.png saved in C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2
screen shot srb20017.png saved in C:\Documents and Settings\Owner\My Documents\Ryan's Folder\SRB2
>quit
I_ShutdownMouse()
I_ShutdownKeyboard()
I_ShutdownTcpDriver: shut down
I_ShutdownDigMusic:
I_ShutdownMIDIMusic:
I_ShutdownSound()
I_ShutdownDigMusic:
I_ShutdownMIDIMusic:
I_ShutdownGraphics()
I_Quit(): end of logstream.

EDIT3:
Shadow Hog said:
How long did it take you to get a SIGSEGV? :D

I didn't, see the log.
 
Heh, I remember the first time I tried editing the source code.

You couldn't jump, gravity was uber-high, you got a game-over as soon as you died, and NiGHTS mode, Don't get me started on NiGHTS mode.
 
SRB2-Playah said:
It's not a bug if you changed the source code. And the log doesn't do much in this situation.
Oh no, it's a bug. It's just more of a runtime error than a compile one. Also it's one he'd have introduced. Either way, a bug is what it is.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top