Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 18:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



WarRock Private server error

Discussion on WarRock Private server error within the WarRock forum part of the Shooter category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 10
Received Thanks: 5
WarRock Private server error

Hello everyone

I recently came across some old WarRock private server files published by FelixFaust/Milkax3. It seems to be an "old" AlterWar project. Searching a little I arrived here and so I´m asking you guys.

Before asking anything here I tried to get everything working myself. Without a single idea of mysql or VB I managed to create a working database (called wremu) and to launch the executable files of the private server.

I have modified hosts file like this:

127.0.0.1 login.warrock.net

and I setup my server.ini like this:


The first thing I noticed when I finally managed to get everything working is that the server was full (¿?) and the name I had set in the .ini file wasn´t the name of the server



When I try to connect to the server, it says the server is full. I have downloaded visual studio but although I´m able to open the project file, I can´t rebuild the .exe since some stuff is missing.

Is it my fault or the files are not working?

Thanks in advance.

PD: Ok, I know im a noob when it comes to coding and so on, but I´m willing to learn how to fix this (there is no need to anyone to do it for me). I just need a clue of what´s happening.
darkraptor4 is offline  
Old 03/09/2013, 23:11   #2
 
elite*gold: 24
Join Date: Jan 2013
Posts: 96
Received Thanks: 58
i guess your problem is: you have the port instead of the userlimit (the block) in your serverlist packet
Nullpointer1337 is offline  
Thanks
1 User
Old 03/09/2013, 23:13   #3
 
Sleutel's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 748
Received Thanks: 569
Because its made for chapter 2+
Sleutel is offline  
Old 03/09/2013, 23:17   #4
 
elite*gold: 24
Join Date: Jan 2013
Posts: 96
Received Thanks: 58
Quote:
Originally Posted by Sleutel View Post
Because its made for chapter 2+
uhm not sure what **** i just made there... it WAS working *for the moment*. with lots of bugs. my advice: don't use these files.
Nullpointer1337 is offline  
Old 03/09/2013, 23:22   #5
 
elite*gold: 0
Join Date: Jul 2012
Posts: 10
Received Thanks: 5
First of all thanks for your answer Nullpointer1337 and Sleuter.

You recommend me not to use these files but right now they are the best sources I found. So until something better becames public I believe I´ll have to stick to this.

Sleutel: so the files are made for chapter 2 isn´t it?. Well, I thought it would work with chapter 1 as well. Would it work if I used chapter 2 client?

Thanks again.

EDIT: While downloading a chapter 2 client I wanted to test Nullpointer1337 solution. I swap the port and LIMIT values so that LIMIT is 5330 and PORT is 32 and guess what: I could enter the server!. The problem is that when Im about to choose game mode (CQC, UO...) I get a connection error and the game takes me back to the log screen.

darkraptor4 is offline  
Old 03/09/2013, 23:41   #6
 
elite*gold: 24
Join Date: Jan 2013
Posts: 96
Received Thanks: 58
bad serverfiles.
you dont have to download ch2 client. ill give you my old cp1 serverfiles. (not working at all but still better)


files: see attachment
Attached Files
File Type: rar WarRock CH1 Server.rar (1,018.5 KB, 208 views)
Nullpointer1337 is offline  
Thanks
3 Users
Old 03/10/2013, 00:03   #7
 
elite*gold: 0
Join Date: Jul 2012
Posts: 10
Received Thanks: 5
That´s very kind of you Nullpointer. I downloaded them and tested them out.

First thing I did was to create another db called wremu2 and I used the SQL script to generate the necessary tables.

Second thing I noticed is that PatchServer uses another database (or at least, the default .ini file was pointing to another database), but I didn´t find any sql script. I used the same database (wremu2) and tried to launch it but I couldn´t. The .exe crashed. I tried to debug it with visualstudio 2010 and It seems to point to mysqldata not being there. I tried to use Loginserver mysql.data with no results.

As I wasn´t able to launch patchserver I tried to launch game server (which executed succesfully) and created a new account using the mysql manager. I avoided WRupdater.exe (as the patch server wasn´t working) by using -hstart with WarRock.exe

When I wanted to log, I got a wrong password error. I have checked and checked and I´m sure I´m typing it correctly. Does the server use some kind of password encryption or is there anything I have missed?

Sorry If I ask a lot of questions but I´m used to cod4 modding (where I am very skilled) not to WarRock private server and stuff xD.

EDIT: After a few hours I managed to get almost everything working. I copied mysql.data from gameserver to patchserver so that now it works fine. Now I can log in and create a room but when I shoot a friend I get an error. It says something about me trying to use OPK.
darkraptor4 is offline  
Old 03/10/2013, 12:20   #8
 
elite*gold: 24
Join Date: Jan 2013
Posts: 96
Received Thanks: 58
Quote:
Originally Posted by darkraptor4 View Post
It says something about me trying to use OPK.
yeah that was my fail.. somewhere in roomdatahandler should be the damage subtype. remove dat "opk check" cuz that was a noob-try to scan for opk (tought these blocks are the player position)
Nullpointer1337 is offline  
Old 03/10/2013, 12:30   #9
 
elite*gold: 0
Join Date: Jul 2012
Posts: 10
Received Thanks: 5
I commented out those lines (cod4 scripting knowledge is useful at last xD) using a ' before the lines


and tried to compile gameserver again using Visual Studio 2010. The problem is that I get about 20 errors when I try to build the solution and gameserver.exe is not compiled. Is it my fault? Am I missing something? Or are there some raw files missing?

Thanks a lot and sorry for the questions
darkraptor4 is offline  
Old 03/10/2013, 19:05   #10
 
elite*gold: 24
Join Date: Jan 2013
Posts: 96
Received Thanks: 58
uhm
could you compile it WITH these lines?
Nullpointer1337 is offline  
Old 03/10/2013, 19:13   #11
 
elite*gold: 0
Join Date: Jul 2012
Posts: 10
Received Thanks: 5
I´m sorry. I had just sent you a pm. I tried to compile stock files without a single modification and I get the same errors.

I´d better explain the steps I am following:

1. Open VB studio 2010.
2. Open a project: GameServer.vbproject
3. Build Solution.

I get 26 warning and 21 errors.

Here the errors:


I´m sorry to keep bothering you but I´d really appreciate some light here.

Thanks in advance.
darkraptor4 is offline  
Old 03/10/2013, 22:53   #12
 
elite*gold: 24
Join Date: Jan 2013
Posts: 96
Received Thanks: 58
add a reference to MySql.Data.dll .
Then go to each Server.vb and look for the part of server initialisation (new Server()): Add a parameter: Port. GameServer: 5340, LoginServer: 5330. You may delete PatchServer, this is actually senseless
Nullpointer1337 is offline  
Old 04/08/2013, 00:50   #13
 
elite*gold: 0
Join Date: Feb 2011
Posts: 4
Received Thanks: 0
#request thanks
@darkraptor4 how do you manage to fix the invalid password ??
@Nullpointer1337
windowsxp925 is offline  
Old 08/15/2013, 06:47   #14
 
3dVision's Avatar
 
elite*gold: 0
Join Date: Oct 2012
Posts: 47
Received Thanks: 5
Sorry for bumping.. but how'd you fix the "invalid password" and "exceeded maximum capacity" problem?
3dVision is offline  
Reply




All times are GMT +1. The time now is 18:45.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.