I was getting the link to sed it to you; but i see you got it already.
For the CustomNew.h; its missing, i guess its something michi was working on.
Comment the include out from the source and it will compile just fine ;).
Testing atm.
Printable View
Can someone post the complete source code of the latest working MultiServer project?
If I compile the project MultiServer, the client won't connect to the server.
Because of that I use a binary from the other pages (I think i got it from one of michi28 posts...)
http://s12.postimg.org/d5a0pr74t/image.png
now I encountered this error.Quote:
Problem signature:
Problem Event Name: BEX
Application Name: zGameServer.exe
Application Version: 1.0.1.0
Application Timestamp: 55c5fca1
Fault Module Name: zGameServer.exe
Fault Module Version: 1.0.1.0
Fault Module Timestamp: 55c5fca1
Exception Offset: 00312066
Exception Code: c0000417
Exception Data: 00000000
OS Version: 6.0.6001.2.1.0.274.10
Locale ID: 1033
Additional Information 1: 69b9
Additional Information 2: e0853cd671c5640109346c4ca6ab63fd
Additional Information 3: d68f
Additional Information 4: f636baede4f6881d88196d8275476663
Read our privacy statement:
Privacy Statement for the Microsoft Error Reporting Service
What have you encountered this error please guide me fix errors.
sorry I do not know English
i installed server. It started with o problem with other client it said mi that use new version of client. Ok. i used other cient , but now it gives disconnect.... :(
For people that can't compile, don't know how to compile, or are lazy, here's a compile of michi28's source:
MEGA: https://mega.nz/#!lQphSQzZ!UIovKyMZr...0kht5twfBWfaKs
Can someone share the source code of the latest, WORKING, and COMPLETE MultiServer project?
What's my issue:
- Everything compiles, but if I use the MultiServer binary compiled by me, the GameServer crashes and the client gets stuck after the account login page (the characters aren't displayed) -> I DON'T HAVE TIME TO debug why it crashes, I just need a working MultiServer source code project to have a start point!
- I use Visual Studio 2010 Ultimate
- The binary from the older posts has 727K while mine has 2632K (release was used, NOT debug)
===========
@fallenfate, Stop assuming shit about people. Don't be a smart-ass just because you managed to compile some project made by others.
Like A LOT of people here, you're just a copy-paster that starts uncommenting and commenting code when something doesn't compile and has no idea why there are #if .. #endif and #define keywords in the source code and how they relate to each other.
Also, do the real programmers that want to fix this complete mess a favor and start reading at least a programming tutorial before believing you're a good programmer. Just because you impressed 3 people that barely know what 'int x' means doesn't make you a programmer. Get out of your hole!
If you want someone to start fixing this, at least provide all the COMPLETE working projects! Some people out there want to fix this, but they DON'T have the time to fix the projects compiling issues. So what are they doing instead? It's simple, they don't care anymore and let the hobbyist programmers that have no idea what they're doing fix the projects.
By commenting/deleting code that just makes the source compilable and the binary runnable is NOT FIXING, it just opens the way for new, unresolvable BUGS because NOT EVEN A PERSON HERE uses some source control project (like git, for example) and NO ONE will know what and when was commented/deleted!
I will say what not even a person says here:
- the source code of this project is a complete MESS!
- if you were hired somewhere and this would be your product you'd be fired in a week!
- this is NOT a real programmer project, this is some beginner after-school hobby
- there are also some clever code lines in the sources and that means that AT SOME POINT, some people that REALLY KNEW what they did were involved in the project, BUT the majority of code is just copy-pasting-god-help-me-compile-this. From this I conclude that the ones that knew what they were doing LEFT the project and the only ones remaining were the wanna-be kid-programmers that just copied like babies (without knowing what the code meant) what was working in the code.
PS1: DON'T USE UPPER LETTER FOR EVERYTHING!!! (methods, classes, variables)
PS2: For god's sake, COMMENT the code! COMMENT COMMENT AND COMMENT SOME MORE! No one wants to read 10 hours to understand a stupid algorithm. And no one wants to read 10000 hours to guess what a variable should do!
PS3: Stop telling people that have issues with compiling/running/whatever to look in the previous pages without linking directly to the respective post! Just because you don't have a life and have the time to read all 158 pages in a day doesn't mean that anyone has that time! If you know how to fix something and know what comment said how to fix that something post the link to the comment, otherwise SHUT UP because not even a person cares about "read the whole thread because you should have a lot of time, like me, the copy-paster"!
PS4: I read all 158 pages in about 4-5 weeks. Nothing interesting was said; just some copy-paste recommendations!
PS5: @michi28, thank you for sharing your code/fixes/finds. In all those hundreds of pages you're the only one that REALLY had anything to say. (There were others too, but I don't remember they're nicknames.)
But DON'T COMMENT #if ... #endif if you already use and give values to the #define directive. Those #define 's are specifically put where they are to help you activate/deactivate the #if ... #endif tags. If you comment those tags, and the #define 's are used in them, then the #define 's won't help you with anything anymore.
PS6: No copy-paste-ninja should ever be a smart-ass!
is this realease realy doesnt work in Lan servers?
Here is a list of all the interesting things in the previous pages:
Attachment 153476
Attachment 153477
Attachment 153478
Note: They are copy-paste of posts about problems/fixes. There's a lot of RANDOM information there!
Edit: Apparently, when you download .txt file from ragezone they get the .php extension. Just open the attached files with Notepad to see their content.
nice collection :D
@WAGGON, You can play in LAN.
Attachment 153479
@WAGGON, This is the database I'm using. I don't know if this is the latest, but this is what I use and it works for me with SQL Server 2008 R2 on Windows XP 32 bit (ODBC32.reg)
Attachment 153480
To add multiple sub-servers use the attached configs.
For every sub-server there must be:
- 1 new zGameServer
- 1 new zMultiServer
- the id added in the servers list config file
- the map server config updated
For every new sub-server:
- use the Settings.ini file from the attached zMultiServer2, BUT change the TCPPort from the [DataServer] section (increment it).
- add a new server ID in the zConnectServer\ServerList.txt config file
- change the ServerCode [GameServerInfo] and ServerPort [Connection] in the zGameServer\Data\ServerInfo.dat (use the settings added in zConnectServer\ServerList.txt
- Edit the MapServer.xml from zGameServer\Data\World with the newly added server-code and server port
The following files must be edited:
├───zConnectServer
│ ServerList.txt
│
├───zGameServer1
│ └───Data
│ │ ServerInfo.dat
│ │
│ └───World
│ MapServer.xml
│
├───zGameServer2
│ └───Data
│ │ ServerInfo.dat
│ │
│ └───World
│ MapServer.xml
│
├───zMultiServer1
│ Settings.ini
│
└───zMultiServer2
Settings.ini
Working example:
Attachment 153481
Some pictures explaining what I said above:
Attachment 153482 Attachment 153483
why my exdb started give error? it never closed by itself before?
@ispyder Woooooooooow, way to overreact, lol. Fact is that 90% of RageZone are people that leech files and never share, 5% ask for help (and I provide it, else I wouldn't have a reputation as a helper), 2% keep their files to themselves, and 3% share. These aren't assumptions, I've been in RZ long enough to see the comments, so I know what people are like, opposed to your only having just recently joined. Any number of long-time RZ members can agree with this, @Vaulient and @KarLi raise your hands, hahaha.
I compiled the sources for people who don't know how (there are many people in RZ that don't have enough understanding of English to be provided a compile guide), for some who don't have technical knowledge enough to attempt a compile, and some just don't want to download the VS tools. I didn't do it to be a smart-ass, hence why my posted sentence read, 'For people that can't compile, don't know how to compile, or are lazy,' because that, in order, are 95% of reasons why people jump into these source threads and ask 'anyone have new source compile I need try run server'. So, I make a compile and share it with everyone. I don't claim any of it as my own code.
Try to think a little deeper before you post abuse in future or enjoy a report. I was also going to attempt to help you...
- - - Updated - - -
In what order are you running the executables? And are you running them by a shortcut? They require being run via shortcut or they will not run.