Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 09:52

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

Advertisement



[Development] KraHen`s devblog

Discussion on [Development] KraHen`s devblog within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 12/07/2011, 15:10   #16
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by KraHen View Post
Inventory loading/saving(which is actually item saving but meh) added. It`s just a dictionary lol. And wrote some new methods and constructors for the Item class, such as converting a GameItemDomain(just a data holder for nhibernate) to ConquerItem etc. Now working on Equipment.

EDIT:

Removed all bugs related to this, basically stuff I didn`t think about before testing. Now it works as intended.
Sounds like you're on the right track. If.you're using nhibrinate then you should write things with it from the start. That's one of albetros' biggest drawback, we had to try to retrofit.existing systems with it.

I'd use a stored proceedure to pull all user items (invent, whs and equipment) and keep them as nhibrinate objects with helper methods to let these objects be used directly as game objects (for calculations and packets). you can then just .save() them on modification without any real hassle (note, I'd do helper methods for things like... Change id. that way all stats update and savewithout you needing to remember)

Basically take how we started.to.do things with.albetros and finish them ahaha
pro4never is offline  
Old 12/07/2011, 23:43   #17


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
@pro4never:
I`ve been actually doing that with almost everything.

After an epic fight with a series of exceptions, Inventory and Equipment is done. When I do profs tomorrow I`ll post pictures too, just because IMO the 140 armors are badass . Still have to add equipment saving/loading but meh, that can wait until tomorrow. Oh, and (reminder) also have to code generic item usage besides equipment!
KraHen is offline  
Old 12/08/2011, 20:48   #18
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
btw the python npc script chris used is pretty sweet too, npc can work immediate without having to restart the server and npcs can be changed too.
turk55 is offline  
Old 12/09/2011, 00:09   #19


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Tomorrow`s plan is :
Stat calculations
More character functions (for updating stats)
Starting attack system - melee attack

By the way, regarding the attack system, I`m thinking about the correct implementation of Fastblade. A lot of sources that are public are just implementing it plain wrong IMO, I was thinking about generating a vector (line lol) with Bresenham either until it`s length matches FB range or until it finds a player in a generated coord. Any better ideas?
KraHen is offline  
Old 12/09/2011, 00:48   #20


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
Quote:
Originally Posted by KraHen View Post
Tomorrow`s plan is :
Stat calculations
More character functions (for updating stats)
Starting attack system - melee attack

By the way, regarding the attack system, I`m thinking about the correct implementation of Fastblade. A lot of sources that are public are just implementing it plain wrong IMO, I was thinking about generating a vector (line lol) with Bresenham either until it`s length matches FB range or until it finds a player in a generated coord. Any better ideas?
Convert the C++ implementation of TQ to C#?
CptSky is offline  
Old 12/09/2011, 02:47   #21


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Quote:
Originally Posted by CptSky View Post
Convert the C++ implementation of TQ to C#?
There`s a source for it?
KraHen is offline  
Old 12/09/2011, 02:55   #22
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
EO not CO. But alot is applied to CO as well.
Arco. is offline  
Old 12/09/2011, 06:30   #23
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by Arco. View Post
EO not CO. But alot is applied to CO as well.
Which is floating around somewhere in the EO section.
BaussHacker is offline  
Old 12/09/2011, 06:37   #24
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by BaussHacker View Post
Which is floating around somewhere in the EO section.
Every time I try to explain how we did things in albetros I have to be like "yah...we ripped it from eo source..."

That source is FANTASTICALLY useful. They're basically the same game. Hell half the eo source contains stuff from conquer cause they recycled most of their code.
pro4never is offline  
Old 12/09/2011, 06:59   #25


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Got it, thanks for the sender. Although I`m sure my implementation would`ve been right as I don`t think TQ uses a special algorithm for line generation of their own lol.

Update :
Added stat calculations (still have to do mana, I hate taos if you didn`t get it by now)
Added map changing (also added entity removal from screen on login... oops )
Added stat window

Basically everything I needed so I can start my attack handler. Here`s a pic for you, visual types :

KraHen is offline  
Reply


Similar Threads Similar Threads
[Development] i need help here :)
06/15/2011 - Runescape Private Server - 11 Replies
hi guys i have a lot of friends wanna me make private server for runescape and i don't know what i have to do to make one with nice function so can anyone till me how i can code something like that im C# programmer so is it good to create something like that or what !!!!!!!
EVE - Neuer DevBlog und atemberaubende Char. erstellung
01/01/2011 - Gaming News - DE - 13 Replies
Die meisten welche an EvE Online denken, denken an Raumschiffe und Planten, doch es gibt noch mehr. Jemand muss ja die Dinger steuern oder nicht ? Genau der Charakter , dieser Tritt in EVE immer mehr in den Vordergrund, auch in dem nächsten Update Incursion. Dabei wird ein wirklich atemberaubender detailreicher neuer Charakter-Editor eingebaut. Dieser wird aller wahrscheinlichkeit schon ein Schritt in richtung Dust 514 gehen, da man im moment noch im Spiel nicht sehr viel vom Charakter erlebt. ...
[Development] CPX 3G
09/05/2010 - CO2 Private Server - 6 Replies
I know, I know. My last project didn't go too well because it was really rubbish, I guess me and Nullable both agree on that. So yeah, I decided to take this project into development again for those who actually followed the development of the previous project. I'm writing a new source this time, using different methods and actually have gained more information about certain things. Some examples; Mapping system: private Dictionary<uint, IMap> mapCollection; IMap interface: ...
New bot development
12/19/2008 - Archlord - 16 Replies
Ok, i decided to make a new thread for this. So basically we have nothing, we're starting from scratch. So our obvious obstacle is: packet encryption From my testing I've discovered the whole packet where the "session key" is sent. Meaning I don't know specifically what in the packet is the session key. I can do all the programming for the bot, packet handling, GUI etc. But I do need a team, or people willing to help. Mostly I someone who can analyze the client and find the...
New Bot in Development.
03/02/2008 - Conquer Online 2 - 19 Replies
If this is not the correct place for this, then please move it mods, i was unsure of where to put it. For the DMapViewer, go to: http://www.elitepvpers.com/forum/co2-main-discussi ons-questions/113588-dmap-file-parsing.html I've started development on my new bot, it will not be standalone due to the fact that there would be to many things to code, perhaps in the future once everything has been mapped/able to be replicated it can move to standalone, but for now, it will act as a proxy,...



All times are GMT +1. The time now is 09:52.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.