Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

abhi2011

Members
  • Posts

    2897
  • Joined

  • Last visited

    Never

Everything posted by abhi2011

  1. > CSDE is more a modification to EO that was released years ago. not sure if you can get it anywhere anymore but yea. CS:DE isn't a modification to EO just released to the public. CS:DE or Crystal Shire:Developers Editor was and engine developed by Robin whom AFAIK created the Eclipse Origins engine. He left after EO 2.0 and created his own game: [CrystalShire](http://Crystalshire.com). He made a major change to his game by adding in a better graphics management and revamped the login system. He sold the "old" game and after that he just released it. You can get it by downloading Robin's Amazing bundle found in the resources section.
  2. My really big question now is how do you actually decode the HTTP request and send back the data from the request?
  3. A simple google search and I got lots of examples. Never thought it would be so simple. Thanks anyways.
  4. Don't use an programs. Open up Command Prompt as an admin then type in the following: ``` regsvr32 mscomctl.ocx ``` Make sure that mscomctl.ocx is registered only system32 and de-register it's occurrence anywhere else.
  5. > The users web browsers think it's php. What it really is–a vb socket daemon that acts like a web browser. It's a socket array that listens for connections on port 80 or whatever, then I just have a function that the requested URL gets thrown into along with any post or get variable info, its a big SELECT CASE statement that determines what do to at that point & usually sends something back or the contents of a file, perform tasks, etc. It's kind of like PHP, but your using VB instead of PHP, directly in the 'web servers' code. By doing it that way the purpose of the program is hard coded but still able to do more than PHP could, such as working with the account files for EO server. There is also some sections of code that deal with things like request and output web headers, and a very specific way of dealing with packet splitting to act as a web server or proxy. There are also a bunch of "php" in the working directory, these are files that this thing uses, and inside of each is just html, and the program needs these because they are like.. the parts of the web output that the admin can modify--files acting as variables basically. So basically like this? 1. Request from PHP script on webbrowser to the game server. 2. Game server gets the request and complies the neccessary stuff. 3. Php script then proccess the stuff and displays it. Or in other word PHP is connected to VB6? I would love to have a look in the source and learn a lot more.
  6. > Oh, nah not at all. I was down. Honestly it was a lot of fun to mess around with. I only briefly saw what he had done with it after I handed him a project to modify, so I don't know all the stuff he did with it, but if this was actually useful to anyone I'd be interested in finishing the version I started. I don't care that he was charging money for it but I wouldn't personally. How exactly did you do this?
  7. For that go to [http://directx4vb.vbgamer.com/](http://directx4vb.vbgamer.com/)
  8. Make sure you install the run-time files properly. If you have a mscomctl.ocx in your game directory then unregister it and remove it. Then register mscomctl.ocx found at system32.
  9. There isn't any information at all about the game. What is the theme of the game, how far has it gone picture etc. It would help if you were to add some info.
  10. You haven't told us if you restarted your client.
  11. Just adding it in won't work. You'll have to render the image. Almost all engines on the forums use DX8\. Just go to modGraphics or whateever the name of the graphics module and look at how the rendering takes place. **A DX7 engine will not work!**
  12. Yes it is possible I believe. Google VB6 IRC.
  13. Why not just use VB6's inbuilt versioning control? i.e ``` app.major app.minor app.revision ``` And for the updating of resources: Just make a new version for the update and update it. Don't change the client versioning and make the player open the client via the updater.
  14. I am basically restating CoziBoy: Use a versioning system. Here is an example of a version 1.0.1\. When the player logs in or registers connects to the server send the version info along with the other data. Make the server check the version with the current version. The current version should be stored with the server. When an update takes place increase the version number on the new client and on the server by 1\. Then upload the client. If the versions don't match up show a message saying it's outdated and asking the player whether the game should be updated and the make the game start the updater and shut itself down.
  15. abhi2011

    DirectX

    Go to elevated Command Promopt. (Search for cmd -> Right Click -> Run as Admin) Then type in: regsvr32 dx8vb.dll And then try running again.
  16. What is the value of 'index' when the error is thrown?
  17. You're source has been corrupted. Re-install the run times and get a fresh copy of the source.
  18. abhi2011

    Mysql help

    Quit VB6 and use some other programming language or engine like C# or C++ or something. VB6 is real old. However if you are adamant try getting a copy of Robin's Amazing bundle and check out Mirage 3 and the other Mirage engines. One of them has an implementation of MySQL. I warn that you do not use it directly as it is crappy. Furthermore check out the internet for resources and documentations.
  19. Make sure that x is not less than 0 or greater than the max map x. The same for y.
  20. abhi2011

    Vps setup please

    You need a windows vps. After that connect to the vps by using the connection details given by your VPS host. Transfer your data to the VPS. Open up the ports. Run the server.
  21. > That's because nobody here has figured out how to properly handle losing focus on a device yet. Although, the guys over at Nin seem to have it fixed. > > > > Anyhow, the same thing should happen if you manage to get a UAC warning or hit Control Alt Delete while a game is up. It's just something we've never solved. It's clearly stated in the DIrectX8 SDK. What you do is check for focus lost and if so reinitialize DirectX. @OP I believe changing a single Display.Windowed to false won't solve this. Check [this](http://directx4vb.vbgamer.com/DirectX4VB/TUT_DX8_DG.asp) out!
  22. Oh yea I forgot about TempPlayerRec! Thanks Stein!
  23. lenb( {your playerrec variable} ) * {max_players value} **+** lenb( {your templayerrec variable} ) * {max_players_value} I believe this will give you the entire amount of memory used by the server for storing all players in memory regardless of whether a "rec" is in use or not. (I believe this is how fixed arrays work i.e when a fixed array is declared memory equal to length of the array is automatically allocated. And for dynamic arrays the memory allocated is "dynamic" i.e changes depending upon the length. **Someone should verify this!!** )
  24. > ``` > > Dim Msg As String > Dim s As String > Dim partynum As Long > Dim i As Long > > ``` > can also make bit shorter like > > > > ``` > > Dim Msg, s As String > Dim partynum, i As Long > > ``` > Thanks for tutorial ;) You cannot and should not do that. All variables in VB should be declared with a type. It is not a necessity by a coding efficiency. It also prevents logical errors from taking place. In Domino's "example" his Msg and partynum variables are not string, longs but rather variants. It should be ``` dim msg as string, s as string dim partnum as long, i as long ```
  25. There is a tutorial for this. But since this a first timer, keep up the good work! And also, just a suggestion: To make your code look a bit more neater, you could group together variable declaration. eg: ``` dim var1 as string, var2 as string dim num1 as long, num2 as byte ``` etc
×
×
  • Create New...