Faq (Updated 04/16 12:35 AM) - HTTP TIMEOUT? LOOK HERE

Joined
Aug 14, 2009
Messages
2,308
Reaction score
1,207
Stop spamming like crazy in the WarZ Source thread. Its only for updates on the source or mirrors.

What should I do if I have Questions?

Ask in the Help Section for help. and give us time to reply. (don't push after 10 minutes without any answer)

What should I do if I have no idea how to get this to work?
Don't post anything thats questions about how to get the server working or how to get source compiled. Give us time to provide you an good cleaned up source or good server binarys with an tutorial. Why? because the code is really bad written. and you must recompile more then the server. (client needs ip change).

What do I need for recompiling the source?
1. First you'll need Visual Studio 2008 with Service Pack 1 (Don't use the express editions) you can use the trial version, but the activated Visual Studio is better. (You'll need the Web Extensions for the Adminpanel which is required to run the Gameserver!)
2. Next thing (for the database) you'll need SQL Server. I've tested it with .
You'll NEED SP1 & SP2! (Windows Vista and higher)
3. then until someone posts the backup of the database you'll need to import the database. (only the lazy people who don't know how to import single files in SQL Server 2008).
4. Then you'll need the + the .
You have now all the requirements for compiling and running the server & client.
(ONLY THE REQUIREMENTS NOT FINISHED!)

Are fixed Versions out yet?

No. and don't ask! it will be out when it's out.

Help i'm having the problem
The procedure entry point ?getTriangle@PxMeshQuery@physx@@SAXABVPxHeightFieldGeometry@2@ABVPxTransform@2@IAAVPxTriangle@2@PAI@Z could not be located in the dynamic link library PhysX3Common_x86.dll

use my fixed PhysX3Common_x86.dll downloadable View attachment PhysX3Common_x86.zip

How to start the WarZ.exe without Launcher?

warz.exe -WOUpdatedOk -steam -WOLogin "LOGINAPI" -steam

How to start the GameServer? (Fix by SecretsOfThePast)

Don't start the Gameserver.exe manually. Let it execute threw the Included MasterServer. Make sure you compile it and change the API in the settings to match the location of the API. (g_api_ip)

What do I need to host the Website files?

You'll need:
1. IIS or ASP.NET Webserver
2. PHP Module for IIS or ASP.NET Webserver
3. MSSQL (Look at the question above there is an downloadlink)

I want to extract Data from the original WarZ
Look at the tutorials section.

I have the Art Bug!! HELP!!!!

View attachment 127423

Replace your itemDB.xml in Data/weapons with this version:
~REMOVED~

!Use the updated version without any error :)!

Where i can get the Database files without doing the RedGate stuff?


(ONLY FOR MSSQL!!)

How to add Users, Preorders and Serials:

Serials:
INSERT INTO WarZSerials (SerialKey, SerialType) VALUES ('SERIAL', 1)

The 1 is the type.. i'll try to figure out what it does later :).

Preorders:

EXECUTE BN_WarZ_PreorderRegister 'PAYPAL', '9.99', '1', '', 'EMAIL', '1', 'paypal', '127.0.0.1'

Users:

(You need to add preorder before you can add the user. Also you need the compiled WZ_Backend_ASP.net and a webserver, or debug the Project)

Can i use the Express Edition from Visual?
No. Because the source requires some Librarys that are only available in the Visual Studio

From SecrectsOfThePast

Can i use MySQL instead of MSSQL?:
Can not be used with this game, don't even try, it uses MSSQL directly not ODBC.

From finito

Serial Types
0 = Legend Package
1 = Pioneer Package
2 = Survivor Package
3 = Guest Account (48 hour access)

These are all the valid types i could find.


Found in
- WZ_ACCOUNT_APPLYKEY and WZ_ACCOUNT_CREATE stored procedure in WarZ database.
- getforumbadge-exec.php script within thewarz.com-account.

From pepperosam

Are the server files from 2012?

The developer claims, that the "new" things like skill systems, or new weapons are clearly from scratch. But its totaly bullshit. All of that (like friendsystem, clansystem and various weapons like kruger etc) are in that game since alpha code ever was created and used. Even the new Map was already "ready" for use.

Help!! I'm getting an HTTP Timeout error!!
You probably have these lines in your game.ini:
g_api_ip XXX
g_serverip XXX

delete those and it should work. if not look under "Help!! I'm still getting an HTTP Timeout error!!"

Help!! I'm still getting an HTTP Timeout error!!
You are probably not running an IIS Server with the Backend API
.

By Ultraporing:
Everything in one query incl. acc creation. Just replace EMAIL, PASSWORD, SERIAL. breezenet and warz are the database names, change them if needed.

USE [breezenet]
INSERT INTO dbo.WarZSerials (SerialKey, SerialType, IsUsed) VALUES ('SERIAL', 1, 0)
EXECUTE BN_WarZ_PreorderRegister 'PAYPAL', '9.99', '1', '', 'EMAIL', '1', 'paypal', '127.0.0.1'
USE [warz]
EXECUTE WZ_ACCOUNT_CREATE '127.0.0.1', 'EMAIL', 'PASSWORD', '0', 'SERIAL', 'EMAIL'


- More to be added soon

- Updated 04/09 - 07:01 PM

- Thanks for the sticky :).

- Updated 04/09 - 08:03 PM

- I'm not giving !ANY! support via PM, Skype, Steam etc. don't add me if you only need help and don't want to talk about the code etc.!
 
Last edited:
Re: Faq

Sorry for posting here, but, i was analysing the code and maybe i can help you and DNC to get all working, let me know if i can adict you to skype. thank you
 
Upvote 0
Re: Faq (Updated 04/09 10:05 PM)

For some reason I'm stuck at window mode in a tiny screen anyway to go back to full screen ( for the warz studio)
 
Upvote 0
Re: Faq (Updated 04/09 10:05 PM)

Some corrections:

Don't start the Gameserver.exe manually. Let it execute threw the Included Adminpanel
should be:
Don't start the Gameserver.exe manually. Let it execute threw the Included MasterServer. Make sure you compile it and change the API in the settings to match the location of the API. (g_api_ip)


This login method:
warz.exe -WOUpdatedOk -steam -WOLogin "LOGINAPI" -steam
Will result in highly insecure login credentials. Instead, use the launcher and only the launcher as the method of authentication. For testing it is perfectly fine.


Serials:
You don't need to even use serials. You can disable them in the API by changing the BreezeNet storedproc that checks the serial. I'm not going into too much detail because if you can't edit a stored procedure, you shouldn't be messing with this source in the first place.


MySQL:
Can not be used with this game, don't even try, it uses MSSQL directly not ODBC.


This:
The 1 is the type.. i'll try to figure out what it does later :).
is only used for preorder/acct type, it determines how much $$$ you start with of both Game Credits and Money, and is adjustable in the stored procedures without any code changes.
 
Upvote 0
Re: Faq (Updated 04/10 01:55 PM)

I have some questions :]

doubt #1
I'm trying to open the launcher and the war is giving this error!

GigaToni - Faq (Updated 04/16 12:35 AM) - HTTP TIMEOUT? LOOK HERE - RaGEZONE Forums


doubt #2
To restore the DBS can use SQL Server 2008?
Or have any specific?

would be grateful if someone could help me! :blushing:
 
Upvote 0
Re: Faq (Updated 04/10 01:55 PM)

I have some questions :]

doubt #1
I'm trying to open the launcher and the war is giving this error!

When the Eternity project is built using Final configuration. There are #ifdef used throughout the code that make changes.
One of those changes is to not allow direct loading of files in the data folder but use package files only.

Code:
r3dFile* r3dFile_IntOpen(const char* fname, const char* mode)
{
  r3dCSHolder csHolder(g_FileSysCritSection);
  bool allowDirectAccess = true;

#ifdef FINAL_BUILD
  // disable all data/ files in final build
  if(strnicmp(fname, "data/", 5) == 0)
    allowDirectAccess = false;
#endif

p.s. These two posts should be in Help section.
 
Upvote 0
Re: Faq (Updated 04/10 01:55 PM)

When the Eternity project is built using Final configuration. There are #ifdef used throughout the code that make changes.
One of those changes is to not allow direct loading of files in the data folder but use package files only.

Code:
r3dFile* r3dFile_IntOpen(const char* fname, const char* mode)
{
  r3dCSHolder csHolder(g_FileSysCritSection);
  bool allowDirectAccess = true;

#ifdef FINAL_BUILD
  // disable all data/ files in final build
  if(strnicmp(fname, "data/", 5) == 0)
    allowDirectAccess = false;
#endif

p.s. These two posts should be in Help section.

thank you thank you so much friend ;)
 
Upvote 0
Re: Faq (Updated 04/10 01:55 PM)

I'd start working on a map but my studio is windowed mode in the tinyist window possible I cant increase it any help/>
 
Upvote 0
Re: Faq (Updated 04/10 01:55 PM)



Uploaded a fixed version of the ItemsDB to prevent the Art Bug. Pretty simple fix, since the new items were ordered in the XML according to when they were introduced. Keep the old ItemsDB though, in case someone fixes the animations.
 
Upvote 0
Re: Faq (Updated 04/10 01:55 PM)



Uploaded a fixed version of the ItemsDB to prevent the Art Bug. Pretty simple fix, since the new items were ordered in the XML according to when they were introduced. Keep the old ItemsDB though, in case someone fixes the animations.

functional
thanks for sharing friend!
 
Upvote 0
Sending error report over SMTP is disabled (negative priority); skipping.
[sending_attempt]
Sending error report over SMAPI is disabled (negative priority); skipping.
[status_failed] pls HELP
 
Upvote 0
Hello,

I am currently working on a Tutorial to help some of the people with issues relating to the HTTP Timeout error with the /api_GetLootBoxConfig.php and other related PHP pages. To help fix issues with properly returning a proper response.

As well as demonstrate the process to get IIS6/IIS7 on Windows Server 2003/2008 to properly run PHP and the other essentials for it to communicate with SQL Server 2008 And 2012. And the process for setting up all the .Net stuff.

Should be done in a few hours hopefully. :)
 
Upvote 0
Here is the account creation in one DB query, maybe usefull for the faq:

Everything in one query incl. acc creation. Just replace EMAIL, PASSWORD, SERIAL. breezenet and warz are the database names, change them if needed.

USE [breezenet]
INSERT INTO dbo.WarZSerials (SerialKey, SerialType, IsUsed) VALUES ('SERIAL', 1, 0)
EXECUTE BN_WarZ_PreorderRegister 'PAYPAL', '9.99', '1', '', 'EMAIL', '1', 'paypal', '127.0.0.1'
USE [warz]
EXECUTE WZ_ACCOUNT_CREATE '127.0.0.1', 'EMAIL', 'PASSWORD', '0', 'SERIAL', 'EMAIL'
 
Upvote 0
I still have the error
Code:
"?getTriangle@PxMeshQuery@physx@@SAXABVPxHeightFieldGeometry@2@ABVPxTransform@2@IAAVPxTriangle@2@PAI@Z  could not be located in the dynamic link library PhysX3Common_x86.dll"

I downloaded PhysX3Common_x86.dll and move to C:\Shared\InstallableFiles\WarZ\bin but same problem. any idea :s?
 
Upvote 0
Back