|
You last visited: Today at 01:31
Advertisement
Lotf adding potency question
Discussion on Lotf adding potency question within the CO2 Private Server forum part of the Conquer Online 2 category.
06/29/2009, 00:44
|
#1
|
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
|
Lotf adding potency question
Hey every1, I posted this once but got no results, so i'll try again, hopefully people will see this one...
In Nobility I'm trying to make it add potency for King, Duke, ETC... This is what i have.
Code:
MyChar.Potency += 40;
SendPacket(General.MyPackets.Vital(MyChar.UID, 11, MyChar.Potency));
If some1 could get it to go to the "Other" section, all the better, but really any section other then Level would be good.I'm pretty sure its the "SendPacket" thats not working, Please help.
~Rapid
|
|
|
06/29/2009, 00:48
|
#2
|
elite*gold: 0
Join Date: Sep 2007
Posts: 370
Received Thanks: 117
|
Im dont sure, test it:
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "letter7"));
|
|
|
06/29/2009, 01:13
|
#3
|
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
|
Eh, got a lot of errors but when i edited it it still didnt work, thanks for trying tho
|
|
|
06/29/2009, 05:41
|
#4
|
elite*gold: 0
Join Date: Jun 2009
Posts: 53
Received Thanks: 4
|
First of all why bother start that way?
How about if this chars rank = 7( Thats king right?)
Just my 2c
|
|
|
06/29/2009, 05:44
|
#5
|
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
|
Quote:
Originally Posted by Singah
First of all why bother start that way?
How about if this chars rank = 7( Thats king right?)
Just my 2c
|
Theres more to the code then that... I just need to know that small part that adds the potency...
|
|
|
06/29/2009, 05:47
|
#6
|
elite*gold: 0
Join Date: Jun 2009
Posts: 53
Received Thanks: 4
|
I'm not sure with Conquer, its sending the packet. But maybe not receiving it?
|
|
|
06/29/2009, 06:05
|
#7
|
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
|
If you send the right nobility packets the client will add it automatically.
Obviously you're not doing it right.
|
|
|
06/29/2009, 06:06
|
#8
|
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
|
Well, actually I no for a fact the packet is the wrong one... i just copied the StatPoint one and prayed it would work cause i could find the Potency One lol, i also hanged MyChar.StatP to MyChar.Potency, the only thing that differs in each of the "SendPacket" thing are The Number after MyChar.UID, (number), so i think the number is what has to be changed but i have no idea how to find the number..
|
|
|
06/29/2009, 06:12
|
#9
|
elite*gold: 0
Join Date: Jun 2009
Posts: 53
Received Thanks: 4
|
Actually its an effect.
That number is like the ID. Changing it may cause a `mixup`, or an invalid packet
|
|
|
06/29/2009, 06:16
|
#10
|
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
|
Code:
MyChar.StatP += 40;
SendPacket(General.MyPackets.Vital(MyChar.UID, 11, MyChar.StatP));
MyChar.Potency += 40;
SendPacket(General.MyPackets.Vital(MyChar.UID, 11, MyChar.Potency));
That code includes the StatP part of it i added, that one works, but the potency doesn't and the only difference is MyChar.Potency, so can any1 figure it out?
I just realized just putting potency doesnt tell it where to add it in potency, maybe thats the problem?
|
|
|
06/29/2009, 06:24
|
#11
|
elite*gold: 0
Join Date: Jun 2009
Posts: 53
Received Thanks: 4
|
Check the potency system. It might be screwed. Actually it was always **** in lotf. No extra def/atk. I think :/
|
|
|
06/29/2009, 16:04
|
#12
|
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
|
Bump (Sorry to interfere with newer and more important post... But ive been trying to get an answer to a small problem for 3 days...)
|
|
|
06/29/2009, 18:11
|
#13
|
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
|
Quote:
Originally Posted by ~RapidBlade~
Bump (Sorry to interfere with newer and more important post... But ive been trying to get an answer to a small problem for 3 days...)
|
I dont get you , why would you provide players with high potency if the potency does not do anything? Firstival I would make a calculations for potency to add up % of defence and % of attack(May be a little hard).Then you can start on doing things like providing players with advantages of potency.
|
|
|
06/29/2009, 18:49
|
#14
|
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
|
Quote:
Originally Posted by damianpesta
I dont get you , why would you provide players with high potency if the potency does not do anything? Firstival I would make a calculations for potency to add up % of defence and % of attack(May be a little hard).Then you can start on doing things like providing players with advantages of potency.
|
Potency adds defence, idk bout attack, and dont act like you know what the hell your doing on my source, i think i know more about it then you do
|
|
|
06/29/2009, 19:32
|
#15
|
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
|
Quote:
Originally Posted by Singah
Actually its an effect.
That number is like the ID. Changing it may cause a `mixup`, or an invalid packet
|
No, it's not an effect.
If you send effects it won't add potency. If you send the nobility packet it will.
|
|
|
|
|
Similar Threads
|
[Release] Adding Ninja LOTF
07/04/2011 - CO2 PServer Guides & Releases - 73 Replies
You can add (Ninja , New Character ) Items , Skills , NPcs ...... By following the links and info
And i can call it
It isn't code or something like that .. i can help you to add ninja on LOTF (5017)
-------------------
First go to YourConquerFolder/ini/ProfessionalName.ini in it add
50 means Character id . The command will be /job 50 for internNinja
Now you added the character
|
Probs while adding Ninja to LOTF
07/18/2009 - CO2 Private Server - 20 Replies
Well i added Ninja but Katanas use Boxing as Prof how can i fix this?
|
LOTF Question-Potency
06/28/2009 - CO2 Private Server - 2 Replies
Hey everyone, I was just trying to make nobility add potency to "Other" Section, but instead it just didnt add at all, if someone could help, it b appreciated XD.
(My source to be released when finished... BTW)
|
anybody have the potency problem for lotf
04/24/2009 - CO2 Private Server - 1 Replies
lol i been runnign a server and today i barely noticed the potency is all effed up...
any suggestions
|
[Help] With adding skills in lotf
09/09/2008 - CO2 Private Server - 4 Replies
How exactly would i like add skills in lotf casue i want to add some more skills. I'll release it if some one could help me on how to do it :)
|
All times are GMT +2. The time now is 01:31.
|
|