[Release]My source...

05/17/2010 06:18 Gerculy#106
this source is good guys ? :D
05/17/2010 06:21 BlueFlame11#107
Quote:
Originally Posted by Gerculy View Post
this source is good guys ? :D
That yellow color is hard to read ;O
And to answer your question
Yes this source is good
05/17/2010 16:42 Luiz01#108
I'II check this.
I think to make a good source you have to look at the example of hybrid.
05/17/2010 17:33 MonstersAbroad#109
Its a good source if you want to learn unlike many members of elitepvpers.
05/17/2010 18:37 Nullable#110
Quote:
Originally Posted by Luiz01 View Post
I'II check this.
I think to make a good source you have to look at the example of hybrid.
No you don't have to, you have to put the pieces of the puzzle together(knowledge + problem) and solve it the logical way.
Amazing piece impulse :)
05/17/2010 20:04 BlueFlame11#111
Quote:
Originally Posted by Nullable View Post
No you don't have to, you have to put the pieces of the puzzle together(knowledge + problem) and solve it the logical way.
Nice!
05/21/2010 20:32 MonstersAbroad#112
Anybody working on this ?
05/21/2010 23:45 pro4never#113
Yah i did a bit. I was getting annoyed by it though cause my test cmd's weren't working for some reason even though i rewrote part of the cmd checks so it was hard for me to test new packets or features i tried to add. I mostly just did some npc system upgrades and minor fixes/additions so far.
05/22/2010 00:06 MonstersAbroad#114
Hey. could you help me with somethin ??

I made a jail system for now itl just jail me @arrest minutes and it all works they get let out after minutes is up to the dot only problem is if they are in jail and cannot get out untill there time is up they can just relog and then they can get out ? is there a way to stop that ?
05/22/2010 01:46 CIRASH#115
have it use system time and not just a timer.
05/22/2010 13:26 -impulse-#116
All you should do is just, add twp new variables in entity table(mysql) named arresttime as INT(20) and arrestedsince as BIGINT(20), and in source you'll use an int and a datetime. I managed to make my mysql handler to be able to read/write datetime from mysql(in mysql it is a long number). It could just read/write it as a mysql datetime but datetime to long would be just more effective.

And when it comes to check you should do like:

[code]
if(DateTime.Now > client.ArrestedSince.AddMinutes(client.ArrestTime) )
{
//...
}
else
{
Text(You still need to wait " + (new TimeSpan(DateTime.Now.Ticks).AllMinutes - new TimeSpan(client.ArrestedSince.Ticks).AllMinutes) +" to wait. Be patient!");
}
05/22/2010 16:46 nuhali#117
what does this source have??
05/22/2010 17:09 MonstersAbroad#118
Quote:
Originally Posted by ElectricZebra View Post
In lotf the code is MaxHP what is it for this source?
MaxHP would be
Code:
client.Entity.Hitpoints = client.Entity.MaxHitpoints;
and for a certian amount
Code:
client.Entity.Hitpoints = 0;
xD
05/22/2010 17:13 pro4never#119
Quote:
Originally Posted by nuhali View Post
what does this source have??
It's a BASE source.


It's a well written, efficient, virtually bugless 5165 source. You will need to code all the features yourself though (or wait till people release them)

Unless he updated the file again this doesn't even have monster spawns by default. Basically EVERYTHING will have to be coded.

That being said the source is written in such a way that new things are quite easy to add because it's not a complete mess like lotf (or even coemu to an extent). It is structured in a way that will accommodate additions very well.

Eg: This already has the enums and packets setup for things like reborn weapons and skills, status effects, general data packets, etcetc... the features themselves though are not coded but part of your job is already done (and in quite a nice way)
05/22/2010 17:27 MonstersAbroad#120
I agree with 100%