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:
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!
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?
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?
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.
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 :
[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,...