Clean Source

I got problem now in the worldserver:
c:\source\Official Source\_Common\Environment.h(30) : error C2065: 'LANG_SUB_MAX' : undeclared identifier
\source\Official Source\_Common\Environment.cpp(92) : error C3861: 'LANG_SUB_MAX': identifier not found, even with argument-dependent lookup
\source\Official Source\_Common\Environment.cpp(101) : error C2065: 'SEASON_MAX' : undeclared identifier
\source\Official Source\_Common\Environment.cpp(118) : error C3861: 'LANG_SUB_MAX': identifier not found, even with argument-dependent lookup
\source\Official Source\_Common\Environment.cpp(121) : error C2065: 'SEASON_NONE' : undeclared identifier

try this
Code:
//  __environment

just replace // before __environment

ps. you can see this at VersionCommon.h ???:ott1::ott1:
 
hi :(:, i've compiled the source with my own edited datasubs with no errors just some warnings
Code:
LINK : warning LNK4089:  all references to 'NeuzD.dll' discarded by /OPT:REF
LINK: warning LNK4089:  all references to 'SHELL32.dll' discarded by /OPT:REF
LINK : warning LNK4089: all references to 'SHLWAPI.dll' discarded by /OPT:REF
LINK : warning LNK4089: all references to 'comdlg32.dll' discarded by /OPT:REF
LINK : warning LNK4089: all references to 'ole32.dll' discarded by /OPT:REF
when i try to open the server, world server crash :( and drop this error
Code:
GetSkillProp range_error min:0, max:321, index:400 to GetSkillProp range_error min:0, max:321, index:436

also CEnvironment::LoadScript - Script Load Failed 
OP: 119709794, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
OP: 54907, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
OP: 1276, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0

also when i try to use the neuz i only can use it with Sunkist and i get the getskillprop range error =o any idea how to fix this? =3 :drool:
 
When I get this Erros, can someone help me? . _.

Code:
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(16) : error C2065: 'm_aEnvironmentEffect' : undeclared identifier
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(16) : error C2070: ''unknown-type'': illegal sizeof operand
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(16) : error C3861: 'm_aEnvironmentEffect': identifier not found, even with argument-dependent lookup
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(80) : error C2070: ''unknown-type'': illegal sizeof operand
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(80) : error C3861: 'm_aEnvironmentEffect': identifier not found, even with argument-dependent lookup
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(80) : error C3861: 'm_aEnvironmentEffect': identifier not found, even with argument-dependent lookup
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(92) : error C2065: 'LANG_SUB_MAX' : undeclared identifier
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(101) : error C2065: 'SEASON_MAX' : undeclared identifier
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(106) : error C3861: 'm_aEnvironmentEffect': identifier not found, even with argument-dependent lookup
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(118) : error C3861: 'LANG_SUB_MAX': identifier not found, even with argument-dependent lookup
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(121) : error C2065: 'SEASON_NONE' : undeclared identifier
\Users\Dennis-Flyff\Downloads\Official Source\_Common\Environment.cpp(127) : error C3861: 'm_aEnvironmentEffect': identifier not found, even with argument-dependent lookup
 
nope, that didn't fix the random crashing x.x maybe if the crash reports weren't so cryptic, i could figure it out.
All the crash reports start with this as the first 2 lines:
Code:
C:\server\Resource\WorldServer.exe caused ACCESS_VIOLATION (0xc0000005) 
in module C:\server\Resource\WorldServer.exe at 0023:0052fb38.
can somebody translate? lol
 
this is what i have in my error file :o
Code:
 CDbManager::UpdateGuildRanking¿¡¼­ (RANKING.RANKING_DBF.dbo.RANKING_STR 'R1','01') ½ÇÆÐ
Getskillpro:

from: GetSkillProp range_error min:0, max:321, index:400
to: GetSkillProp range_error min:0, max:321, index:436

OP: 11220309, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0

OP: 70160, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0


ping TRANS - 70, trans:2010/11/17 12:45:14

any idea? about how to fix it?

btw the neuz always crash when i try to make a char or try to log in :( any idea about it?
 
Last edited:
Maybe if you debugged the WorldServer using the compile PDB you'd know why it crashes!

i've tried debugging, but i obviously did something wrong, cause it didn't really tell me anything. short guide on how? cause i just noticed another person with the same problem as me and they'll probably need it also.

edit: i think i found the problem (assuming i'm debugging properly)
when the server crashes, it points me to MoverSkill.cpp at the function:
Code:
CMover::ActivateEatPet( CItemElem* pItemElem )
and here's the line in the function that it places the cursor at:
ItemProp* pProp	= pItemElem->GetProp();
 
Last edited:
I have found a bug @ the post.
When i send a mail to a nother char and type @ penya "9999999999999999999999999999999" (31x number 9) i got 2,147,xxx,xxx penya and the other char get 2,147,xxx,xxx mrd penya.
how can i fix that?

Same question.. How can I fix that? :closedeyes:
 
Thanks Sir, I found it.

By the way, it's good to change the way you check in your Gameguard (client sided), much better to check the dll's used on every application runs on platform.

Again, Thanks!
 
I noticed there's a change in these files that kinda breaks one of the things I have on my website lol
My previous files change a value in the database when your account is connected, and change it back when it's not connected. On these files, it makes the first change for being connected, but the second one was removed. I'm not asking how to change that (since I haven't even looked yet), I'm just pointing it out lol
 
i checked it ... and the Port is the same as the Neuz from the Files (V16 ready)... but with the selfmade Neuz it won't work :(

The Neuz from the Files works without problems..
 
Back