Iceball on Screenshot Saturday for Jan 19:
http://www.reddit.com/r/gamedev/comment ... se/c7zmt6j
Iceball Project
-
Triplefox
Scripter
- Posts: 32
- Joined: Thu Nov 22, 2012 5:28 am
-
GreaseMonkey
Coder
- Posts: 733
- Joined: Tue Oct 30, 2012 11:07 pm
Moghard wrote:Still nothing, it disappears.Did you read the manual?
10se1ucgo wrote:This is the main part:GreaseMonkey wrote: I am aware that's a bit of code which needs bulletproofing.Yep.
Can you please do "bt full"?Code: Select allC:\iceball>gdb iceball GNU gdb (GDB) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-mingw32". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from C:\iceball\iceball.exe...done. (gdb) run -c aoswiki.rakiru.com 20737 Starting program: C:\iceball\iceball.exe -c aoswiki.rakiru.com 20737 [New Thread 5288.0x1274] [New Thread 5288.0x14bc] [New Thread 5288.0x124] [New Thread 5288.0x80] [New Thread 5288.0x334] Program received signal SIGSEGV, Segmentation fault. img_parse_tga (len=37110, data=0x513bff0 "") at src/img.c:106 106 img->pixels[idx++] = tmp _col; (gdb) bt full #0 img_parse_tga (len=37110, data=0x513bff0 "") at src/img.c:106 rle = 127 tmp_col = <optimized out> p = 0x513e660 "¼\004" dend = 0x51450e6 "½½½½½½½½ε■" x = <optimized out> y = <optimized out> i = <optimized out> head = {idlen = 160 '\240', cmtype = 8 '\b', imgtype = 10 '\n', cmoffs = 0, cmlen = 0, cmbpp = 240 '≡', xstart = <optimized out>, ystart = <optimized out>, width = 10273, height = 19, bpp = 127 '\177', flags = 0 '\000'} palette = <optimized out> img = 0x62c0020 bplen = 21 idx = <optimized out> #1 0x004081f5 in icelua_fn_common_fetch_poll (L=0x3fb64b8) at src/lua_fetch.h:239 img = <optimized out> ret = 0 #2 0x0041b0bb in luaD_precall () No symbol table info available. #3 0x0041b488 in luaD_call () No symbol table info available. #4 0x0041358d in lua_call () No symbol table info available. #5 0x0040bf90 in icelua_fn_common_fetch_block (L=0x3fb64b8) at src/lua_fetch.h:341 No locals. #6 icelua_fn_common_fetch_block (L=0x3fb64b8) at src/lua_fetch.h:315 No locals. #7 0x0041b0bb in luaD_precall () No symbol table info available. #8 0x0041b488 in luaD_call () No symbol table info available. #9 0x0041358d in lua_call () No symbol table info available. #10 0x0040b271 in icelua_fn_common_img_load (L=0x3fb64b8) at src/lua_image.h:89 fname = <optimized out> img = <optimized out> #11 0x0041b0bb in luaD_precall () No symbol table info available. #12 0x0041f6ca in luaV_execute () No symbol table info available. #13 0x0041b4c4 in luaD_call () No symbol table info available. #14 0x0041358d in lua_call () No symbol table info available. #15 0x0040bd68 in icelua_fn_base_dofile (L=0x3fb64b8) at src/lua_base.h:50 No locals. #16 0x0041b0bb in luaD_precall () No symbol table info available. #17 0x0041f6ca in luaV_execute () No symbol table info available. #18 0x0041b4c4 in luaD_call () No symbol table info available. #19 0x00412528 in f_call () No symbol table info available. #20 0x0041a891 in luaD_rawrunprotected () No symbol table info available. #21 0x0041b619 in luaD_pcall () No symbol table info available. #22 0x004135fc in lua_pcall () No symbol table info available. #23 0x0040d1b7 in icelua_initfetch () at src/lua.c:235 i = <optimized out> xpath = "pkg/base/main_client.lua\000\020²\"\000╕π√\003α\377\"\000\000\0 00\000\000\003ΣB\000.Ñ├wx\033╞wDz\"\000æ╣├w\021\000\000\000╚²\"\000{\031─w\001\0 00\000\000\240ⁿ┼wm\031─w\003ΣB\000R%√\003\000\000\000\000\021", '\000' <repeats 11 times>, "\021\000\000\000\224²\"\000\003ΣB\000α\377\"\000\224\\├w" argct = 0 #24 0x00401ca5 in update_client () at src/main.c:304 quitflag = 0 #25 0x0040217e in run_game () at src/main.c:453 usec_curtime = <optimized out> quitflag = <optimized out> #26 0x0040242f in SDL_main (argc=4, argv=0x3fb27d0) at src/main.c:576 No locals. #27 0x00427509 in console_main (argc=4, argv=0x3fb27d0) at ./src/main/win32/SDL_win32_main.c:315 n = <optimized out> bufp = <optimized out> appname = <optimized out> status = 127 #28 0x004275cb in WinMain@16 (hInst=0x400000, hPrev=0x0, szCmdLine=0x251ef7 "-c aoswiki.rakiru.com 20737", sw=10) at ./src/main/win32/SDL_win32_main.c:398 handle = <optimized out> argv = 0x3fb27d0 argc = 4 cmdline = 0x3fb2538 "C:\\iceball\\iceball.exe" env_str = <optimized out> bufp = <optimized out> nLen = <optimized out> #29 0x0042c92b in main () No symbol table info available. (gdb)
Code: Select all
Or even further in:
#0 img_parse_tga (len=37110, data=0x513bff0 "") at src/img.c:106
rle = 127
tmp_col = <optimized out>
p = 0x513e660 "¼\004"
dend = 0x51450e6 "½½½½½½½½ε■"
x = <optimized out>
y = <optimized out>
i = <optimized out>
head = {idlen = 160 '\240', cmtype = 8 '\b', imgtype = 10 '\n',
cmoffs = 0, cmlen = 0, cmbpp = 240 '≡', xstart = <optimized out>,
ystart = <optimized out>, width = 10273, height = 19,
bpp = 127 '\177', flags = 0 '\000'}
palette = <optimized out>
img = 0x62c0020
bplen = 21
idx = <optimized out>
Code: Select all
It appears it's somehow trying to load something that is clearly not a TGA image, OR the stack is getting corrupted somehow. I'm trying to work out what starts with 160,8,10,0 ( == 0x000A08A0). head = {idlen = 160 '\240', cmtype = 8 '\b', imgtype = 10 '\n',
cmoffs = 0, cmlen = 0, cmbpp = 240 '≡', xstart = <optimized out>,
ystart = <optimized out>, width = 10273, height = 19,
bpp = 127 '\177', flags = 0 '\000'}
Can you remove the "-O2" thing from your makefile and recompile?
STRIKE081 wrote:One of the problems that needs to be fixxed is that while tunneling or in a dark place everything sort of blends in and really makes everything seem weird Green_Surprised2 !!!!!!IIRC 0.0-13 adds per-face shading, although it needs fixing (seems to darken AFTER applying fog; a couple of sets of "side faces" are incorrect). Check Triplefox's "screenshot saturday" post which should be just before this one.
EDIT: The per-face shading was a bit broken (mismatched colour indices for a face drawn on more than one cubemap; shading applied after fog). Fixed in 0.0-16. I think we can finally knock that off the TODO list now.
-
Jordach
Deuced Up - Posts: 43
- Joined: Thu Dec 20, 2012 8:03 pm
I decided to make a unofficial build for struggling win32 users..
http://ompldr.org/vaDR1Zg/buildandsnip-0.0.16.zip
It contains all the things you need for connecting to rakiru's server, mapmaking, modelmaking etc..
(If browsers flag it, don't worry about it.)
http://ompldr.org/vaDR1Zg/buildandsnip-0.0.16.zip
It contains all the things you need for connecting to rakiru's server, mapmaking, modelmaking etc..
(If browsers flag it, don't worry about it.)
-
jordan
Deuced Up - Posts: 97
- Joined: Thu Jan 03, 2013 12:45 pm
Where are the maps you save in mapediter located?
-
jordan
Deuced Up - Posts: 97
- Joined: Thu Jan 03, 2013 12:45 pm
rakiru wrote:Edit: Never mind I got it thanksjordan wrote:Where are the maps you save in mapediter located?clsave/vol/saveX.icemap where X is the slot you selected
-
BozoDel
Deuced Up - Posts: 61
- Joined: Fri Nov 30, 2012 12:56 am
Hey, there's some info that maybe, just maybe will be useful for Linux users. I have no idea whether this'll apply to Iceball, but here it goes: when I was playing Minetest, I had trouble with the Nouveau driver and the current NVIDIA driver, they kept crashing and freezing on me. Using NVIDIA current-updates fixed it.
-
rakiru
Coder
- Posts: 1349
- Joined: Sun Nov 11, 2012 12:26 pm
-
BozoDel wrote:Hey, there's some info that maybe, just maybe will be useful for Linux users. I have no idea whether this'll apply to Iceball, but here it goes: when I was playing Minetest, I had trouble with the Nouveau driver and the current NVIDIA driver, they kept crashing and freezing on me. Using NVIDIA current-updates fixed it.This game doesn't use the graphics card, so that doesn't apply here.
-
SICKfudge
Deuced Up - Posts: 49
- Joined: Sat Nov 10, 2012 4:06 pm
Woah, just peeked out from under my rock just long enough to notice this, you have my interest
Greasemonkey = god among men
Greasemonkey = god among men
Hey, not so active anymore since the Jagex takeover, you might see me around from time to time though, feel free to say Hi if you see me ingame, usually willing to have a chat
-
10se1ucgo
3 Years of Ace of Spades
- Posts: 198
- Joined: Sun Dec 16, 2012 4:29 pm
GreaseMonkey wrote: It appears it's somehow trying to load something that is clearly not a TGA image, OR the stack is getting corrupted somehow. I'm trying to work out what starts with 160,8,10,0 ( == 0x000A08A0).Yeah. It just opens and closes, doesn't say "iceball has encountered an error" and all that crap.
Can you remove the "-O2" thing from your makefile and recompile?
Code: Select all
C:\iceball>gdb iceball
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\iceball\iceball.exe...done.
(gdb) run -c aoswiki.rakiru.com 20737
Starting program: C:\iceball\iceball.exe -c aoswiki.rakiru.com 20737
[New Thread 2428.0x240]
[New Thread 2428.0x5b0]
[New Thread 2428.0x1124]
[New Thread 2428.0xdf4]
[New Thread 2428.0xf78]
Program received signal SIGSEGV, Segmentation fault.
0x77c4708c in msvcrt!memcpy () from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt full
#0 0x77c4708c in msvcrt!memcpy () from C:\WINDOWS\system32\msvcrt.dll
No symbol table info available.
#1 0x0040442b in img_parse_tga (len=37110, data=0x5152ff8 "")
at src/img.c:101
rle = 110
tmp_col = 4009684734
p = 0x515cff5 "■ε■ε■ε■ε■ε■"<Address 0x515d000 out of bounds>
dend = 0x515c0ee "\253\253\253\253\253\253\253\253ε■"
x = 0
y = 42
i = 0
head = {idlen = 254 '■', cmtype = 238 'ε', imgtype = 254 '■',
cmoffs = 61182, cmlen = 61182, cmbpp = 254 '■', xstart = 61182,
ystart = 510, width = 48, height = 10272, bpp = 166 'ª',
flags = 0 '\000'}
palette = 0x0
img = 0x62a0020
bplen = 21
idx = 490962
#2 0x0040aeeb in icelua_fn_common_fetch_poll (L=0x3fa64b8)
at src/lua_fetch.h:239
img = 0x22ffe0
ret = 0
#3 0x0041f6db in luaD_precall ()
No symbol table info available.
#4 0x0041faa8 in luaD_call ()
No symbol table info available.
#5 0x00417bad in lua_call ()
No symbol table info available.
#6 0x0040b21e in icelua_fn_common_fetch_block (L=0x3fa64b8)
at src/lua_fetch.h:341
top = 2
#7 0x0041f6db in luaD_precall ()
No symbol table info available.
#8 0x0041faa8 in luaD_call ()
No symbol table info available.
#9 0x00417bad in lua_call ()
No symbol table info available.
#10 0x0040c08c in icelua_fn_common_img_load (L=0x3fa64b8)
at src/lua_image.h:89
top = 1
fname = 0x5128ad8 "pkg/base/gfx/font-numbers.tga"
img = 0x3fa91f8
#11 0x0041f6db in luaD_precall ()
No symbol table info available.
#12 0x00423cea in luaV_execute ()
No symbol table info available.
#13 0x0041fae4 in luaD_call ()
No symbol table info available.
#14 0x00417bad in lua_call ()
No symbol table info available.
#15 0x0040b421 in icelua_fn_base_dofile (L=0x3fa64b8) at src/lua_base.h:50
top = 1
#16 0x0041f6db in luaD_precall ()
No symbol table info available.
#17 0x00423cea in luaV_execute ()
No symbol table info available.
#18 0x0041fae4 in luaD_call ()
No symbol table info available.
#19 0x00416b48 in f_call ()
No symbol table info available.
#20 0x0041eeb1 in luaD_rawrunprotected ()
No symbol table info available.
#21 0x0041fc39 in luaD_pcall ()
No symbol table info available.
#22 0x00417c1c in lua_pcall ()
No symbol table info available.
#23 0x00410570 in icelua_initfetch () at src/lua.c:239
i = 0
xpath = "pkg/base/main_client.lua\000\250DÑq▐g\253q╕²\"\000µ\024@\000\00
1\000\000\000\000\000\000\000╨'\372\003.Ñ├wx\033╞wp²\"\000\221╣├w\021\000\000\00
0╕²\"\000{\031─w\001\000\000\000\240ⁿ┼wm\031─w╨'\372\003\b\000\000\000\000\000\0
00\000\021", '\000' <repeats 11 times>, "\021\000\000\000\204²\"\000\020'\000"
argct = 0
#24 0x00401c80 in update_client () at src/main.c:304
quitflag = 0
#25 0x0040220f in run_game () at src/main.c:453
usec_curtime = 2000
quitflag = 0
#26 0x00402610 in SDL_main (argc=4, argv=0x3fa27d0) at src/main.c:576
No locals.
#27 0x0042bb29 in console_main (argc=4, argv=0x3fa27d0)
at ./src/main/win32/SDL_win32_main.c:315
n = <optimized out>
bufp = <optimized out>
appname = <optimized out>
status = -285282562
#28 0x0042bbeb in WinMain@16 (hInst=0x400000, hPrev=0x0,
szCmdLine=0x251ef7 "-c aoswiki.rakiru.com 20737", sw=10)
at ./src/main/win32/SDL_win32_main.c:398
handle = <optimized out>
argv = 0x3fa27d0
argc = 4
cmdline = 0x3fa2538 "C:\\iceball\\iceball.exe"
env_str = <optimized out>
bufp = <optimized out>
nLen = <optimized out>
#29 0x00430f4b in main ()
No symbol table info available.
(gdb)10se1ucgo wrote:Extended ReubenMcHawk's Authentic SMG
-
HoboHob
Winter Celebration 2013
- Posts: 979
- Joined: Mon Nov 05, 2012 5:02 pm
10se1ucgo wrote:Well then edit the page!HoboHob wrote:Has anyone looked into anti-aliasing?I think you need to improve a lot.
EDIT: I just got Iceball built finally, I wrote a tutorial for building on windows on the wiki
Any ways I could improve? Any chance this may get added to the Github? This kind of definitive guide would have helped me a lot. I'm still sort of a nooby with anything other than .NET.
For zLib:Code: Select allwill just tell you to use win32/makefile.gcc instead, so there is no reason in typing it. There isnt a point either in copying the makefile to the root of the zlib folder, just use./configure --prefix=mingwCode: Select allinstead.Make -f win32/Makefile.gcc
For lua:Code: Select alldoesn't work. The proper command ismake -f MakefileCode: Select all. However, that is useless becausemake -f Makefile mingwCode: Select allworks the same way.make mingw
For all in general:
You didn't really quite specify what files to copy and where.
For building iceball:Code: Select allisn't really correct. Use eithermake -f Makefile.mingwCode: Select allfor an unoptimized build ormake clean all -f Makefile.mingwCode: Select allfor the optimized build.make clean all -f Makefile.mingw CC=gcc CFLAGS_EXTRA="-msse2 -mfpmath=sse
I've tried to follow each of the steps without editing them, but they don't work.
That guide is basically what I did, I just did trial and error and tried to figure out what was going on, again I am a complete noob with anything other than .net.
-
Bigcheecho
Build and Shoot's 1st Birthday
- Posts: 582
- Joined: Sat Dec 22, 2012 3:43 pm
Do you plan on having music play during a battle? Personally, I would love to hear something like this while I'm quickly digging a trench under enemy fire in a desert map:
-
CommieBuffalo
Blue Master Race
- Posts: 2341
- Joined: Mon Nov 05, 2012 4:51 pm
Bigcheecho wrote:Do you plan on having music play during a battle? Personally, I would love to hear something like this while I'm quickly digging a trench under enemy fire in a desert map:That mental image is awesome.
why are you even reading this
-
Sonarpulse
Coder
- Posts: 443
- Joined: Thu Dec 13, 2012 7:18 pm
10se1ucgo wrote:Yeah. It just opens and closes, doesn't say "iceball has encountered an error" and all that crap.Removing -O2 just turned off optimization. It won't fix your problem, but it will give a more useful back-trace, so it can fixed quicker.
If you knew all this, my apologies.
-
TB_
Post Demon
- Posts: 998
- Joined: Tue Nov 20, 2012 6:59 pm
Just a quick suggestion here.
What if falling blocks could hurt you? Say 3 damage per block.
So if someone was in a house where the roof collapsed, and the roof constisted of 25 blocks. That player would lose 75 health?
What if falling blocks could hurt you? Say 3 damage per block.
So if someone was in a house where the roof collapsed, and the roof constisted of 25 blocks. That player would lose 75 health?
Who is online
Users browsing this forum: No registered users and 14 guests






