Colosseum problem. Need some help with it.

05/27/2013 09:12 geezersan#1
Hi..I've been working on getting colosseum to work. I've fixed the errors when I compile the source. But when I start World crashes.
What is weird is before fixing the errors with colossuem. Starting World is not a problem. I can enter the game. But when i go into colosseum and kill the first mob, World crashes.

Hopefully some is kind enough to help me out on this ^^.

thanks in advance....
05/31/2013 03:51 geezersan#2
ok seriously ..40 plus people viewed and no one has a clue.. :confused:
I mean I've give a log if there was one produced. All there is a neuz crash log, and I doubt you need that..unless I am wrong :confused:
Cmon folks, someone posted the same issue and atleast got a reply..geez..
05/31/2013 09:04 Jopsi332#3
Have u try to debug the world?
05/31/2013 12:50 amirshu#4
Quote:
Originally Posted by Jopsi332 View Post
Have u try to debug the world?
can you explain what is the debug?
cuse when i start i dont really understand what is my aim...

and i have the same problem
05/31/2013 14:37 geezersan#5
OMG Jopsi was the first to reply to my help :)
I feel special now...hehe

Hmm.. debug...care to explain further. Is there a debug mode?
I know of a debug option which we have on admins. But other than that no debug mode I know of.. sorry..:o

Been working on this for a month now, I think I need google glasses now since I've googled soo much about this problem and have gotten nowhere XD

I've tried various combinations such as replace the colosseum folder from different resouces to messing with the Colosseum.lua files from different resources as well.

So currently as is right now, my compile works with colosseum having errors. World is fine. So is everything else.

I found a fix online to fix the errors. I compile again. Now no errors at all. So I thought I am good. When I start from Account to World. World is the only one that crashes.

I revert back to my other code that had errors with colosseum, and World is stable. Just going into colosseum is not an option for me. Coz if I hit on the first boss, World crashes.
05/31/2013 14:59 amirshu#6
he means to the debug in the visual studio
05/31/2013 15:22 Jopsi332#7
start the worldserver in debug mode via vs , check where it crash and post funktion + line lol
05/31/2013 16:09 amirshu#8
Jopsi332 can i upload for you the error files? cuse not all of them is a txt files..
its size 75.1MB

jopsi i found where is the problem but have no idea what to do

Quote:
if( pWorld->GetID() == WI_WORLD_COLOSSEUM )
when i debug this is the line who have the problem..
its in colosseum.cpp line 327

Edit : Here is the download for my error files...
[Only registered and activated users can see links. Click Here To Register...]
PW: K_Uvxgf8z_hbj6i4Z8LW7WJJ50lkzzZ3I-QY8Qz1-eI

more info about the problem...

when i compile the worldserver.exe i have some warning who can be the reason for the crash worldserver...

------------------------------------------------------------------------------

Quote:
c:\users\amir\desktop\source\virtuos_v17\build\pro gram\_common\colosseum.cpp(296) : warning C4700: local variable 'bWin' used without having been initialized
this is the first error and the line on colosseum.cpp for this warning is

Quote:
pUser->SendColosseumEndMatch( bWin, 0 );
---------------------------------------------------------------------------

the second warning is :
Quote:
c:\users\amir\desktop\source\virtuos_v17\build\pro gram\_common\colosseum.cpp(327) : warning C4700: local variable 'pWorld' used without having been initialized
the line for this error

Quote:
if( pWorld->GetID() == WI_WORLD_COLOSSEUM )
05/31/2013 20:04 geezersan#9
Hi Amarish,

Those look like the errors I have when I compile.
Here are the files that fixes my errors when I compile:
[Only registered and activated users can see links. Click Here To Register...]

Just backup your current colosseum.cpp and colosseum.h from your source folder and replace them with the files you downloaded. Then compile.

If that fixes the compile errors, I'm curious to see if your world crashes or not XD.

goodluck
05/31/2013 22:14 amirshu#10
can you sparate betwenn the link and the password of Mega pls?
05/31/2013 22:16 geezersan#11
hmm...thats why i put it that way..so that you don't have to use password..
is it still asking for password?

Here is another link
hopefully it lets you thru:

[Only registered and activated users can see links. Click Here To Register...]

Don't forget to back up your original files first.
:)
05/31/2013 23:05 amirshu#12
its work fine with 0 warnings... but when i open the worldserver.exe its crashed... so something wrong with my resource... maybe should i define something? do you have the answer?
05/31/2013 23:10 geezersan#13
..ok thats my problem as well. World crashes when i fix the code.
That is why i posted here to ask what could be the possibilities.. :confused:
05/31/2013 23:40 amirshu#14
when i try to debug the worldserver now this was the line who are bugged maybe..
Quote:
map< string, int >::iterator it = m_defines.find( lpszString );