Apocalypse Code

All Helbreath Server Source Discussion here.
Treax2
Loyal fan
Posts: 281
Joined: Fri Mar 04, 2005 5:05 pm
Location: Estonia
Contact:

Post by Treax2 »

Code: Select all

--------------------Configuration: HGserver - Win32 Debug--------------------
Compiling...
Game.cpp
C:\Windows\Desktop\hboc source\hboc source\Game.cpp(1107) : warning C4101: 'dwTime' : unreferenced local variable
C:\Windows\Desktop\hboc source\hboc source\Game.cpp(2109) : warning C4305: '=' : truncation from 'const int' to 'char'
C:\Windows\Desktop\hboc source\hboc source\Game.cpp(2109) : warning C4309: '=' : truncation of constant value
C:\Windows\Desktop\hboc source\hboc source\Game.cpp(8837) : warning C4305: '=' : truncation from 'const int' to 'short'
C:\Windows\Desktop\hboc source\hboc source\Game.cpp(8837) : warning C4309: '=' : truncation of constant value
C:\Windows\Desktop\hboc source\hboc source\Game.cpp(52420) : error C2664: 'bCreateNewNpc' : cannot convert parameter 10 from 'short *' to 'struct tagRECT *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Windows\Desktop\hboc source\hboc source\Game.cpp(52497) : error C2664: 'bCreateNewNpc' : cannot convert parameter 10 from 'short *' to 'struct tagRECT *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\Windows\Desktop\hboc source\hboc source\Game.cpp(53766) : warning C4065: switch statement contains 'default' but no 'case' labels
Map.cpp
Skipping... (no relevant changes detected)
wmain.cpp
Error executing cl.exe.

HGserver.exe - 2 error(s), 6 warning(s)
My errors :( i dont figure out why i get these .. can u guys help me PLZ
diuuude
Outpost bitch
Posts: 592
Joined: Wed Dec 28, 2005 11:57 pm

Post by diuuude »

marleythe9 wrote: i have few questions...

m_sApocalypseBossMobRect is it supos to = 0 in Cmap or??? is it supos = something els... Ill try 0 see what i get..

and m_bIsApocalypseGateOpen, m_iMaximumObjectDefault...

DEF_DELAYEVENTTYPE_END_APOCALYPSE, DEF_DELAYEVENTTYPE_KILL_ABADDON..

all undifined.. oviously.. any tips on that info?
m_bIsApocalypseGateOpen

I think this one would be 0 (or FALSE) until apoc is started and then set to 1 (or TRUE)...


DEF_DELAYEVENTTYPE_END_APOCALYPSE and DEF_DELAYEVENTTYPE_KILL_ABADDON

I think both should be defined in DelayEvent.h, maybe with values 8 and 9 (values for DEF_DELAYEVENTTYPE_XXX stops at 7 in my sources...)
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
Post Reply