|
You last visited: Today at 21:21
Advertisement
[NOOB QUESTION] ehh...
Discussion on [NOOB QUESTION] ehh... within the CO2 Private Server forum part of the Conquer Online 2 category.
09/19/2009, 03:09
|
#1
|
elite*gold: 0
Join Date: Aug 2009
Posts: 424
Received Thanks: 108
|
[NOOB QUESTION] ehh...
Hey, old thread.
|
|
|
09/19/2009, 03:20
|
#2
|
elite*gold: 0
Join Date: Sep 2009
Posts: 145
Received Thanks: 34
|
Add this under MyChar.CPs += 9000;
SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
|
|
|
09/19/2009, 03:22
|
#3
|
elite*gold: 0
Join Date: May 2009
Posts: 151
Received Thanks: 29
|
You're too slow, :P j/k
Done already.
|
|
|
09/19/2009, 03:23
|
#4
|
elite*gold: 0
Join Date: Aug 2009
Posts: 424
Received Thanks: 108
|
Thanks, another friend got to it though, thanks for posting back, hopefully that helps someone else.
|
|
|
09/19/2009, 15:01
|
#5
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
CompaticCo, the solution has been posted already but you also need to know why this happens, well you can kinda think about it like this, the SendPacket, tells the Client to open or refresh something. E.g. Money, CPs, Health, Mana etc etc.
|
|
|
09/19/2009, 15:29
|
#6
|
elite*gold: 0
Join Date: Aug 2009
Posts: 424
Received Thanks: 108
|
What would be the one to refresh mana?
|
|
|
09/19/2009, 16:02
|
#7
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
Jesus Christ, just look at an example next time.
Here are some packets.
Mana:
Code:
SendPacket(General.MyPacket.Vital((long)MyChar.UID, 2, MyChar.CurMP)); // CurrentMP
SendPacket(General.MyPacket.Vital((long)MyChar.UID, 2, MyChar.MaxMP)); // MaxMana
HP:
Code:
SendPacket(General.MyPacket.VitalVital((long)MyChar.UID, 0, MyChar.CurHP)); // CurrentMP
SendPacket(General.MyPacket.VitalVital((long)MyChar.UID, 0, MyChar.MaxHP)); // MaxMana
Silvers / CPs:
Code:
SendPacket(General.MyPacket.VitalVital((long)MyChar.UID, 4, MyChar.Silvers));
SendPacket(General.MyPacket.VitalVital((long)MyChar.UID, 30, MyChar.CPs));
Please not I'm not sure about the MyPacket part, I use an editted packet sender.
This is also made for Client.cs in the LOTF Source, not in other files.
|
|
|
09/19/2009, 16:04
|
#8
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
Code:
SendPackets(General.MyPackets.CharacterInfo(Me));
World.SpawnMeToOthers(Me, false);
MyChar.SendEquips(false);
Not sure if they all are necessary but that are the ones I used at some NPC.
Please thank me if you used any of these packets.
|
|
|
09/19/2009, 17:39
|
#9
|
elite*gold: 0
Join Date: Sep 2009
Posts: 249
Received Thanks: 17
|
Hmm...MaxHP sends as a packet? I don't recall..
|
|
|
09/19/2009, 18:08
|
#10
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
Oh sorry, I forgot that MaxMP isn't added to most sources =/
Maybe change it to MaxMana ?
|
|
|
09/19/2009, 18:12
|
#11
|
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
|
curHP sends a packet, not maxHP
|
|
|
09/19/2009, 18:15
|
#12
|
elite*gold: 20
Join Date: Aug 2009
Posts: 1,344
Received Thanks: 651
|
I need to introduce you to the high-grade ganja, just smoke it and it gives you all the answers.
|
|
|
09/19/2009, 18:16
|
#13
|
elite*gold: 0
Join Date: Aug 2008
Posts: 889
Received Thanks: 199
|
=)
|
|
|
09/19/2009, 18:24
|
#14
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
Zion that is pure spam >_>
And you're advising us to do something illegal, which makes what you said illegal.
|
|
|
09/19/2009, 18:32
|
#15
|
elite*gold: 0
Join Date: Sep 2009
Posts: 249
Received Thanks: 17
|
Quote:
Originally Posted by Smythe94
Oh sorry, I forgot that MaxMP isn't added to most sources =/
Maybe change it to MaxMana ?
|
lol, I had mana a long time ago just don't think its in the packets...MaxHP isn't in sending packets either..
|
|
|
 |
|
Similar Threads
|
noob question from noob player
06/03/2010 - Archlord - 14 Replies
How much XP does a limpit (lv89) give at lv98 ?
Because a friend of mine killed deathmute (lv79) when he was arround 89 or 90 and he only got 1000XP
is this the same for the limpits? or still getting 100K xp for them at least?
Kind regards and hfffffffff in game all
|
How can i compile (Noob Question but i am noob at this)
08/04/2009 - CO2 Private Server - 6 Replies
Hello all i got this problem that when i changed something in source it doesnt changes inside how do i compile ;) please help :)
|
[HELP] Noob Question
07/03/2009 - EO PServer Hosting - 15 Replies
Ok...sooo this is gonna sound dumb lol but i need to know how to change my form into a TQ baby/any other type of monster. and also how to change from male to female or the other way around...=p please help haha
|
Hello, a short question about CR ( its not big noob question)!
02/11/2009 - Cabal Online - 0 Replies
Hello, i wantet so ask in what pc langauge is cabalrider written i mean java, c++ etc. someone know? and someone know what i need to make something like a cabalrider bot self... for a other game sorry for my bad english iam just from germany i hope someone can help me ty
|
NOOB question :/
08/03/2006 - Conquer Online 2 - 2 Replies
is there any way/chance/possibility to get out of bot jail without paying dbs?
text2schild.php?smilienummer=1&text=respond.' border='0' alt='respond.' />
|
All times are GMT +1. The time now is 21:22.
|
|