because this topic has been removed someone tuturial of how to fix the errors
InvasionMMOSource![]()
because this topic has been removed someone tuturial of how to fix the errors
InvasionMMOSource![]()
BUILD ERRORS
MAPID_WZ_Vip is undeclared ERROR
change MAPID_WZ_Vip to MAPID_WZ_Colorado_Old
RES_NoVIP ERROR
Search
add abovePHP Code:RES_StillInGame = 7,
PHP Code:RES_NoVIP = 8,
like this
struct PKT_S2C_StartGameAns_s : public DefaultPacketMixin<PKT_S2C_StartGameAns>
{
enum EResult {
RES_Unactive,
RES_Ok = 1,
RES_Pending = 2, // server still getting your profile
RES_Timeout = 3, // server was unable to get your profile
RES_Failed = 4,
RES_UNSYNC = 5,
RES_InvalidLogin = 6,
RES_StillInGame = 7,
RES_NoVIP = 8,
};
BYTE result; // status of joining
};
TURN ON PVP - DEMAGE TO PLAYER TO PLAYERS
SEARCH
down of:
bool ServerGameLogic::ApplyDamageToPlayer(GameObject* fromObj, obj_ServerPlayer* targetPlr, const r3dPoint3D& dmgPos, float damage, int bodyBone, int bodyPart, bool force_damage, STORE_CATEGORIES damageSource, int airState )
Delet this
r3d_assert(targetPlr);
LIKE THIS
return false;
r3d_assert(fromObj);
r3d_assert(targetPlr);
if(targetPlr->loadout_->Alive == 0)
return false;
ADD SUPER ZOMBIE
IN sobj_Zombie.cpp
Search
add your super zombie item id
#define Super_Zombie
exemple
#define Super_Zombie 20210 //my super zombie id
SUPER ZOMBIE HEALT
IN sobj_Zombie.cpp
search
and change what u want
SZombieHealth = 20000;
5000 need 15-20 hits in head to kill superzombie
SZombieHealth = 5000;
OBS: super zombie dont stop atack when u atack he
he go atack u all time and dont make a demage effect when u hit him
realy hard to kill
and ikasu have coded to superzombie drop many loot realy many loots
when u kill super zombie drop 10+ itens
PVP AND PVE SERVER
When u change MAPID_WZ_Vip to MAPID_WZ_Colorado_Old
u turn Colorado_Old pvp map and anothers maps PVE
Search
here u go see this
bool ServerGameLogic::ApplyDamageToPlayer(GameObject* fromObj, obj_ServerPlayer* targetPlr, const r3dPoint3D& dmgPos, float damage, int bodyBone, int bodyPart, bool force_damage, STORE_CATEGORIES damageSource, int airState )
this map is PVP
if(targetPlr->loadout_->GameMapId != GBGameInfo::MAPID_WZ_Colorado_Old)
return false;
to make + maps pvp can u add above this
Exemple
now u have Colorado and Cliffside pvp
if(targetPlr->loadout_->GameMapId != GBGameInfo::MAPID_WZ_Cliffside)
return false;
when u dont want pvp only use colorado normal or other maps and dont add it here
u go have pvp only when u add a id for this here.
In your levels folder can u make a copy from your WZ_Colorado and rename to WZ_Colorado_Old
now u go have 2 Colorados 1 pvp and 2 pve
exemple
Game Crash Line 228 fix
[MasterServer]
masterPort=34000
clientPort=34001
masterCCU=300
serverId=1
supervisorCoolDownSeconds=15
[WarZGames]
numGames = 0
maxPlayers = 200
[PermGame2]
map = MAPID_WZ_Colorado_Old DOESNOTHING GBNET_REGION_US_West 0 0
data = 80 0 0
name = PVP SERVER
[PermGame3]
map = MAPID_WZ_Colorado_Old DOESNOTHING GBNET_REGION_US_West 0 0
data = 80 0 0
name = PVE SERVER
SEARCH
REMOVE THIS
bool GameObject::SetNetworkID(DWORD id)
AND THIS
r3d_assert(NetworkID == 0);
r3d_assert(result.second);
net_lastFreeId overflow fix
SEARCH TO
{
if(net_lastFreeId > 0xFF00)
r3dError("net_lastFreeId overflow, make it reuse!");
return net_lastFreeId++;
}
AND REMOVE
if(net_lastFreeId > 0xFF00)
r3dError("net_lastFreeId overflow, make it reuse!");
LIKE THIS
{
return net_lastFreeId++;
}
Server List FIX
Later u changed all ip´s u client dont list the servers
can u fix it here
open warz.sln
search to
and change to your ip.
r3dscpy(_p2p_masterHost, "198.12.12.101");
failed logon User name or password wrong
ikasu source dont use game.ini
open warz.sln - config.cpp
search
AND CHANGE
ExecVarIni( "game.ini" );
ExecVarIni( "game.ini" );
g_api_ip->SetString("PUT YOUR IP HERE");
g_serverip->SetString("PUT YOUR IP HERE");
LOOT FIX
the loot problem is in warz server.sln
ikasu source dont use /api/
only /
have 2 ways searcj in warz server.sln "/" and add "/api/"
or more easy only copy all files from api folder and paste it before
http://127.0.0.1/api/php/dbinfo.inc.php DNC SOURCE
http://127.0.0.1/php/dbinfo.inc.php IKASU SOURCE
Credits doidloko - Tutorial Fix
Credits IKASU - Source Code
Credits DarkOur - TURN ON PVP - DEMAGE TO PLAYER TO PLAYERS Tutorial
Thanks Yuri![]()
I have the following error when I start master server and supervisor, supervisor finishi game, restored the data base right, did all tutorial, changed all IPs, but still game finishi supervisor, follows the log logss
Log logss
000000.003| r3dFS: there is no volume file wz_00.bin
000000.003| Connecting to master server at 127.0.0.1:34000
000000.003| r3dNetwork: Creating client
000000.027| IP: 192.168.1.250
000000.028| IP: 25.105.161.159
000000.028| waiting: connecting, 10.0 sec left
000000.048| r3dNetwork: external ip: 127.0.0.1:63614
000000.048| Game: Initializing with 32 players
000000.048| Server time is Fri Aug 09 19:08:18 2024
000000.048| CAsyncApiMgr starting
000000.049| Starting server on port 34011
000000.049| r3dNetwork: Creating host at port 34011
000000.057| IP: 192.168.1.250
000000.057| IP: 25.105.161.159
000000.069| Getting shop data
000000.072| WO_API: returned http404
000000.072| GetShopData FAILED, code: 8
000000.073| Reading game rewards
000000.075| WO_API: returned http404
000000.075| ApiGetDataGameRewards FAILED, code: 8
000000.075| !!! ERROR: failed to get game rewards
000000.075| !!! crashed
000000.075| Creating minidump at logss\GS_100000329a5db.dmp
000000.190| Minidump created.LOG logsv
000002.008| r3dNetwork: Creating client
000002.027| IP: 192.168.1.250
000002.027| IP: 25.105.161.159
000002.027| Connecting to master server at 127.0.0.1:34000
000002.027| waiting: connecting, 20.0 sec left
000002.047| r3dNetwork: external ip: 127.0.0.1:63612
000002.047| Supervisor: Connected to master as peer 0
000002.047| waiting: wait for register, 10.0 sec left
000002.067| registered, id: 1
000002.067| LogUploader is disabled
000015.438| StartGame 100000329a5d0 slot:0, users:32, id:00010100, creatorID:0
000015.440| CreateProcess: "WZ_GameServer.exe" "65792 34010 0" "2 32 0 1 1" "127.0.0.1" "TWFuY28=" "0"
000015.931| game 00010100 finished
000025.969| StartGame 100000329a5db slot:1, users:32, id:00010201, creatorID:0
000025.969| CreateProcess: "WZ_GameServer.exe" "66049 34011 0" "2 32 0 1 1" "127.0.0.1" "TWFuY28=" "0"
000026.277| game 00010201 finished
000028.778| Control-c ...
sorry my english
It's your Abyss webserver. It only supports https (not http). I suggest you "buy" the upgrade to Abyss X2. I heard of a nice shopping website but I forgot the name. I think it's theNOTpirateBOY.com, not sure.
lol what? Search for my Hamachi tut, to see howto handle that with Abyss, even with https.
Where is the file for fix "RES_NoVIP" please ?
Because i don't have this code :
struct PKT_S2C_StartGameAns_s : public DefaultPacketMixin<PKT_S2C_StartGameAns>
{
enum EResult {
RES_Unactive,
RES_Ok = 1,
RES_Pending = 2, // server still getting your profile
RES_Timeout = 3, // server was unable to get your profile
RES_Failed = 4,
RES_UNSYNC = 5,
RES_InvalidLogin = 6,
RES_StillInGame = 7,
RES_NoVIP = 8,
};
BYTE result; // status of joining
};
:/
EDIT : Solved !
Last edited by Delachambre; 26-09-13 at 05:15 PM.
Oh! Thank you Friends!
can somebody help me? i have problem with my private server becouse when i try pick up any loot or speak npc then crash my client, but when i launch my client again and try then pick up that and that works, but next loot crash my client again. can somebody help me??
PS: sorry my really bad English :P
What about the "Login failed, please try again later" error?
Code:--- Log started at Sat Jan 04 01:25:42 2014 000000.000| r3dFile: can't open game.ini 000000.000| Can't open file "game.ini" 000000.000| r3dFile: can't open local.ini 000000.000| Can't open file "local.ini" 000000.016| Input Devices enabled: Mouse, Keyboard 000000.069| VMEM As seen through DDRaw: 991 000000.069| VMEM As seen through WMI: 0 000000.098| We have 4059 MB texture memory 000000.099| r3dFont: Creating Verdana 10pt 000000.100| r3dFont: Finished creating Verdana 10pt 000000.100| r3dFont: Creating Tahoma 12pt 000000.102| r3dFont: Finished creating Tahoma 12pt 000000.102| r3dFont: Creating Tahoma 10pt 000000.104| r3dFont: Finished creating Tahoma 10pt 000000.105| r3dFont: Creating Tahoma 9pt 000000.107| r3dFont: Finished creating Tahoma 9pt 000000.449| Starting updater, v:0.9.3, cmd: 000000.485| Checking for new updater 000000.531| Checking for new updater - finished 000002.203| WO_API: failed with error code 5 SQL Connect failed 000002.203| Login FAILED, code: 5 000002.990| WO_API: failed with error code 5 SQL Connect failed 000002.990| Login FAILED, code: 5 000003.132| WO_API: failed with error code 5 SQL Connect failed 000003.132| Login FAILED, code: 5 000003.264| WO_API: failed with error code 5 SQL Connect failed 000003.264| Login FAILED, code: 5 000003.385| WO_API: failed with error code 5 SQL Connect failed 000003.385| Login FAILED, code: 5 000003.531| WO_API: failed with error code 5 SQL Connect failed 000003.531| Login FAILED, code: 5 000003.682| WO_API: failed with error code 5 SQL Connect failed 000003.683| Login FAILED, code: 5 000003.815| WO_API: failed with error code 5 SQL Connect failed 000003.816| Login FAILED, code: 5 000007.670| Requested to stop, 0 files in queue 000007.670| CUpdater::Stop()