For the guy that posted the command that would auto-respawn and NPC, i think i have figured out how to make sure the HP shows the same to new players on screen.
Simply make a char in the database, that way you can query the HP as it respawns the char. Using UID of course..
You people realize that you do not have to worry about capitalization on the GM commands right?
Above that section it sets Splitter[1] = Splitter[1].toLower() so that all the commands only have to be lowercase.....
It's not a big thing but it will save a little time coding.
(What I mean is that if someone types in a gm command and has capital letters in it, the server automatically converts it to lowercase so that you do not have to put in so many different variations of the command )
This private server. Is this just another QO? Or is this QO? if it is, then the commands your doing are wrong, and they found a much easier way to get ot the QO server
well its beat me. got the files setup with Mircosoft Visual C# 2005 Express Edition. the only thing thats stopping me from running the server is the XYTheadPool.dll Ive got the basic one but i cant create it with PostgreSQL (the program refuses to setup correctly from me :/)
Still was nice to look at Conquer on a C# level i supose. thankyou for posting your coding for the community, I know that dont mean much from someone as limmeted as myself (learnt as i whent lol) but the Karma is there anyways
Originally posted by Xerofait@Jul 27 2006, 18:44 You people realize that you do not have to worry about capitalization on the GM commands right?
Above that section it sets Splitter[1] = Splitter[1].toLower() so that all the commands only have to be lowercase.....
It's not a big thing but it will save a little time coding.
(What I mean is that if someone types in a gm command and has capital letters in it, the server automatically converts it to lowercase so that you do not have to put in so many different variations of the command )
The
Code:
if (Splitter[0] == smthing || Splitter[0] == Smthing)
is like my signature. So that i recognize if someone took my code or not. Thats why i dont use
Code:
.toLower()
Every programmer has his own ways to write a programm thats why we prefer sometimes have a logic maybe different than others, but its our logic you'll have to accept it
Oke guys here we are i have added all the skill and
there packets, i cant test it because my server isnt
far enough that my characters can cast spells.
So if someone has that implanted already can you test them
please for me, and cans someone else test the files if they
are working and that i calulated the packets in the right
way?
And ive copy-pasted them form Hybris, so credits for him and some for me for doing the calulating...
Then i have some tips:
- Lets first rewrite the engine
(because of this: the server is this state is use
less, 2 connections and it crashes, no moving objects
and above all, inmagen this: the entire server
is written everything works on the old laggy engine, then
you guys(maybe me) start rewriting the engine for the server
and the commands dont work because they were made for the
old cracky engine. And then all the commands have to be
re-written.)
- Lets give everyone an subject for the server.
(because of this: who of you all is working on making
NPC and MOBS? Mostly all of you so we will have 40 differnt
codes of how to spawn MOBS and NPC's.
What iam trying to say is something like this:
- I press listen on the server console
-> The server starts
-> Server spawns for example 20 guards in TwinCity, ApeMoutin, PhoenixCastle... and so on.
-> Server spawns then the monsters
(explample: there schould be 20 Robin flying arround. And if one is killed spawn one back or wait untill 5 are killed and spawn 5 back.)
-> Server spawns the NPC's.
-> Server loads all the items.
While when iam looking on what you are trying to make it will look something like this:
- I press listen on the server console
-> The server starts
-> Someone login.
-> The server spawns the NPC/MOB when the person comes close to the given coordinates of the NPC/MOB.
A friend of mine as a LineAgeII server if i look at how that works its quite simple its seperated
into a login server and a game server.
You can start a loginserver seperated from the game server.
The login server contains the the login and the database, the game server takes care of all
the NPC's, MOBS and items. It quite simple its in JAVA but iam trying to show kinda what I
mean with this.
So that was it for today.
People, thanks for you attation.
And btw, iam also start learing C# so iam not sure
how long it will take me to become a "skilled programmer"
Originally posted by WolfStar@Jul 27 2006, 21:08 This private server. Is this just another QO? Or is this QO? if it is, then the commands your doing are wrong, and they found a much easier way to get ot the QO server
noob scare of.... QO is Java based, this is C# based, we are planing to make a better server then QO.
What is fun in a server where everyone is lvl 130 with super +9 eqq. and you get killed for saying "hey" to someone.
Qo is not sharing anny codes we are.
[img]text2schild.php?smilienummer=1&text=LOL: Rememer UCCO/COPS/IDEOLAB is not QO' border='0' alt='LOL: Rememer UCCO/COPS/IDEOLAB is not QO' />
hey i'am back...
i had some trobles with my internet connection, but now it seems that all work fine. So i'am back for a while, we will see what we can make...
ok im srry for flamin but i agree with andyd123.
noobs need to stop posting stupid **** like,
"too hard 4 me lol"
or
"and qonquer sucks"
if any noobs are reading this dont post **** just to raise your count
its a waist of your time and other people's time.
and can someone check this out for me please
else if (Splitter[0] == "/Heal" || Splitter[0] == "/HEAL")
{
Client.SendData(PacketBuilder.CharacterInfo(Client .Char));
Character Char = Client.Char;
int Life = Char.MaxHP;
Char.HP = Life;
int Mana = Char.MaxMP;
Char.MP = Mana;
i think its all hybris's and aidas's work. i just tryed to make one heal command out of all their codes combined.+ you heal often enough y not save your chars info when you heal.
[img]text2schild.php?smilienummer=1&text=Im not sure it works' border='0' alt='Im not sure it works' />
Originally posted by Titanium@Jul 28 2006, 16:44 What iam trying to say is something like this:
- I press listen on the server console
-> The server starts
-> Server spawns for example 20 guards in TwinCity, ApeMoutin, PhoenixCastle... and so on.
-> Server spawns then the monsters
(explample: there schould be 20 Robin flying arround. And if one is killed spawn one back or wait untill 5 are killed and spawn 5 back.)
-> Server spawns the NPC's.
-> Server loads all the items.
I dont think you understand how was the server working atm, and how the clients were working too. Your trying to plan to spawn everything when the server begins. But you didnt understood that you have to make it visible to each Client, each time they come near the desired thing. Thats why you cant spawn everything at the begining but each thing, each time its needed for each player desired.
I hope you understood what i explained, and that it'll help you to understand the Client first (you cant set up a server without knowing the client before).