Re: [Tutorial] Vault activation
what does that do? activates the VAULT in cities?
great job friend :)
Re: [Tutorial] Vault activation
Yes, this allows you to access the Vault in Safe Zones.
Re: [Tutorial] Vault activation
Quote:
Originally Posted by
Maxunit
Yes, this allows you to access the Vault in Safe Zones.
Again good job buddy!
I will test!
Re: [Tutorial] Vault activation
Re: [Tutorial] Vault activation
Thank you, but, sometimes I get this error:
Code:
000343.121| WO_API: failed with error code 7 game still active
000343.121| ApiBackpackToInventory failed: 7000346.480| Player CapBlackShot TotalWeight is: 60.450001
000346.480| Player CapBlackShot adjusted Totalweight is: 60.450001
000346.487| WO_API: failed with error code 7 game still active
000346.487| ApiBackpackFromInventory failed: 7000348.131| GridFrom: 1, Amount: 1
000348.132| Inventory from: 1, Amount: 1
000348.139| WO_API: failed with error code 7 game still active
000348.139| ApiBackpackToInventory failed: 7000353.434| AddBackPackItems
000354.162| GridFrom: 5, Amount: 1
000354.163| Inventory from: 5, Amount: 1
000354.170| WO_API: failed with error code 7 game still active
000354.170| ApiBackpackToInventory failed: 7
Could you help me, please?
Re: [Tutorial] Vault activation
Quote:
Originally Posted by
CapBlackShot
Thank you, but, sometimes I get this error:
Code:
000343.121| WO_API: failed with error code 7 game still active
000343.121| ApiBackpackToInventory failed: 7000346.480| Player CapBlackShot TotalWeight is: 60.450001
000346.480| Player CapBlackShot adjusted Totalweight is: 60.450001
000346.487| WO_API: failed with error code 7 game still active
000346.487| ApiBackpackFromInventory failed: 7000348.131| GridFrom: 1, Amount: 1
000348.132| Inventory from: 1, Amount: 1
000348.139| WO_API: failed with error code 7 game still active
000348.139| ApiBackpackToInventory failed: 7000353.434| AddBackPackItems
000354.162| GridFrom: 5, Amount: 1
000354.163| Inventory from: 5, Amount: 1
000354.170| WO_API: failed with error code 7 game still active
000354.170| ApiBackpackToInventory failed: 7
Could you help me, please?
for fix this open DB and open
WZ_BackpackChange
WZ_BackpackFromInv
WZ_BackpackGridJoin
WZ_BackpackGridSwap
WZ_BackpackGridSwap
on this Fuctions search this:
Code:
-- check if game is still active or 90sec passed from last update (COPYPASTE_GAMECHECK, search for others)
declare @lastgamedate datetime
declare @GameServerId int
select @GameServerId=GameServerId, @lastgamedate=lastgamedate from UsersData where CustomerID=@in_CustomerID
if(@GameServerId > 0 and DATEDIFF(second, @lastgamedate, GETDATE()) < 90) begin
select 7 as ResultCode, 'game still active' as ResultMsg
return
end
and replace with this:
Code:
-- check if game is still active or 90sec passed from last update (COPYPASTE_GAMECHECK, search for others)
--declare @lastgamedate datetime
--declare @GameServerId int
--select @GameServerId=GameServerId, @lastgamedate=lastgamedate from UsersData where CustomerID=@in_CustomerID
--if(@GameServerId > 0 and DATEDIFF(second, @lastgamedate, GETDATE()) < 90) begin
-- select 7 as ResultCode, 'game still active' as ResultMsg
-- return
--end
and now work full
Re: [Tutorial] Vault activation
Quote:
Originally Posted by
CodexPo
for fix this open DB and open
WZ_BackpackChange
WZ_BackpackFromInv
WZ_BackpackGridJoin
WZ_BackpackGridSwap
WZ_BackpackGridSwap
on this Fuctions search this:
Code:
-- check if game is still active or 90sec passed from last update (COPYPASTE_GAMECHECK, search for others)
declare @lastgamedate datetime
declare @GameServerId int
select @GameServerId=GameServerId, @lastgamedate=lastgamedate from UsersData where CustomerID=@in_CustomerID
if(@GameServerId > 0 and DATEDIFF(second, @lastgamedate, GETDATE()) < 90) begin
select 7 as ResultCode, 'game still active' as ResultMsg
return
end
and replace with this:
Code:
-- check if game is still active or 90sec passed from last update (COPYPASTE_GAMECHECK, search for others)
--declare @lastgamedate datetime
--declare @GameServerId int
--select @GameServerId=GameServerId, @lastgamedate=lastgamedate from UsersData where CustomerID=@in_CustomerID
--if(@GameServerId > 0 and DATEDIFF(second, @lastgamedate, GETDATE()) < 90) begin
-- select 7 as ResultCode, 'game still active' as ResultMsg
-- return
--end
and now work full
Really thank you, Codex! Keep up with the good work on RageZONE!
Taking advantage, if you can read my last topic, I thank you!
Re: [Tutorial] Vault activation
Re: [Tutorial] Vault activation
Hi friend, I have a problem, I created my server with The WarZ normal ... and not with the InvasionZ, I couldn't find any tutorial on how to install the invasionZ, could you answer me or send a PM to me explaining how to install and give some information?
Contacts:
TeamSpeak - 76.73.71.28
Skype - bruno.shnaider
Re: [Tutorial] Vault activation
the vault not is finished, need server code
Code:
void obj_ServerPlayer::OnNetPacket(const PKT_C2S_InventoryOp_s& n)
{
}
Re: [Tutorial] Vault activation
Quote:
Originally Posted by
CodexPo
the vault not is finished, need server code
Code:
void obj_ServerPlayer::OnNetPacket(const PKT_C2S_InventoryOp_s& n)
{
}
And which are these damages?
Re: [Tutorial] Vault activation
Re: [Tutorial] Vault activation
Quote:
Originally Posted by
CodexPo
?¿ what?
Which way this code will affect the game?
Re: [Tutorial] Vault activation
missing server code, not even created, if not added the vault does not work
Re: [Tutorial] Vault activation
Quote:
Originally Posted by
CodexPo
missing server code, not even created, if not added the vault does not work
Thank you for the info!