|
You last visited: Today at 10:32
Advertisement
[DEV]/duel
Discussion on [DEV]/duel within the CO2 Private Server forum part of the Conquer Online 2 category.
02/05/2010, 18:25
|
#1
|
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
|
[DEV]/duel
Explination: While andy was running Coemu it had a system where you can use /duel and pvp another player and it counts how many times you hit the other player when you get 10 hits you win.
He also had a point system by how many wins you get a certain amount of points
Would it be possible to add a shop and you able to use the points you won from duel to buy + stones
Ive thought of a different way of doing this
Just taking away the points and trading them for cps but i really wanna just make it to where you can use the points to get + stones
not sure if its even possible
if it is let me know
|
|
|
02/05/2010, 23:33
|
#2
|
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
|
Npcs?
|
|
|
02/05/2010, 23:41
|
#3
|
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
|
That was my second option if the first option (actually setting up a shop) didnt work
|
|
|
02/05/2010, 23:49
|
#4
|
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
|
try with vending...leavemealone used to do something like that in his last released source.
|
|
|
02/06/2010, 13:02
|
#5
|
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
|
Quiqco source (coemu) hawe honor paints systam yuo can lok in it,it was realaised in another secion
|
|
|
02/06/2010, 23:56
|
#6
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Yeah you can use your own point system, much like virtue points, you just store the value.
Also in shop.dat i think you can specify the type of currency it uses, you could make up your own i would imagine and the packet will be altered for buying and selling to shops so that the money type is different, then you could deduct from your own points system.
|
|
|
02/07/2010, 00:12
|
#7
|
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
|
Quote:
Originally Posted by Korvacs
Yeah you can use your own point system, much like virtue points, you just store the value.
Also in shop.dat i think you can specify the type of currency it uses, you could make up your own i would imagine and the packet will be altered for buying and selling to shops so that the money type is different, then you could deduct from your own points system.
|
I agree, but let's say you do MoneyType = 2, the client won't know much about it neither will know how much will that items cost for that unknown type of money.
|
|
|
02/07/2010, 00:15
|
#8
|
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
|
Thats what i was afraid of the client not knowing the money type
|
|
|
02/07/2010, 00:27
|
#9
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by -impulse-
I agree, but let's say you do MoneyType = 2, the client won't know much about it neither will know how much will that items cost for that unknown type of money.
|
It wouldnt have to know aslong as it sends the type 2 in the packet then the server can just look up the cost. I would try it first anyway, the client might default to the gold cost of the item, which you could change. That way the client will display the cost of the item. Otherwise it would just be a blank space i would imagine.
|
|
|
02/07/2010, 00:38
|
#10
|
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
|
Quote:
Originally Posted by Korvacs
It wouldnt have to know aslong as it sends the type 2 in the packet then the server can just look up the cost. I would try it first anyway, the client might default to the gold cost of the item, which you could change. That way the client will display the cost of the item. Otherwise it would just be a blank space i would imagine.
|
Theres a problem, if you try to buy an item that costs 0, your client will close.
|
|
|
02/07/2010, 07:28
|
#11
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,780
Received Thanks: 5,301
|
Quote:
Originally Posted by -impulse-
Theres a problem, if you try to buy an item that costs 0, your client will close.
|
So you'd have to do something extreme to itemtype.dat which I don't think can be done.
|
|
|
02/07/2010, 07:46
|
#12
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,378
|
Quote:
Originally Posted by -impulse-
Theres a problem, if you try to buy an item that costs 0, your client will close.
|
Then why not just use both.
Have the price be in gold and then in your shop code on the source have something checking if the item purchased was one from the shop. Do the client points check first, then gold check. If it fails point check just print out to the client that you don't have enough points.
Then in the shop.dat just code it as if it's gold using the gold price = to the number of points you want it to cost. That way the client will see the correct cost and the server will do the other work of checking points/removing them.
Personally I'm thinking 10,000 or so points would be 'huge' for this type of system so it's not like there are going to be a ton of issues with players complaining the gold cost is too high... just charge them both.
Note: I am very aware how bad this post was written... I need sleep badly lol... Anyways, hopefully I'm not just being retarded but I don't see a reason why that wouldn't work.
|
|
|
02/07/2010, 12:03
|
#13
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by -impulse-
Theres a problem, if you try to buy an item that costs 0, your client will close.
|
Will it? Ive never experienced that one =o, thanks for the info.
Pro's solution sounds good, just do a check in the purchasing method for that particular shopid, and then switch over to the points based purchasing method, everyones a winner.
|
|
|
02/07/2010, 12:25
|
#14
|
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
|
What if you got points and you don't have silvers? Then what?
PS: tried hacking TQ Bins with a hack like that(adding a club into shopping mall) and it was closing my client
|
|
|
02/07/2010, 12:31
|
#15
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by -impulse-
What if you got points and you don't have silvers? Then what?
PS: tried hacking TQ Bins with a hack like that(adding a club into shopping mall) and it was closing my client
|
Code:
if (MoneyType == 0)
{
if (ShopID == 1467)
{
if (DPoints > 0)
{
}
}
}
You dont even need to check if the gold is greater than 0.
|
|
|
 |
|
Similar Threads
|
WTS lvl 98 duel axe ak!
09/21/2008 - Trading - 3 Replies
Well as the title says i am selling my account for U.S money if anyone is interested pm offers.....BTW account is basically clean!
|
duel wep hack
03/21/2008 - Conquer Online 2 - 0 Replies
I have question...is there any working duel wep hack...i realy need one :)
|
L2 OOG Duel Boxing?
03/02/2008 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 5 Replies
Currently im using the OOG method Rukis suggested on an Official server and all is well: (note: look up member Rukis for
method if your not sure what im talking about)
anyways, to all the experienced people out there, I was curious to know how many people duel box on ONE PC. I always figured duel boxing on one PC was a guaranteed way to get the ban hammer because it would result in 2 characters logged on with an identical IP, game over for sure. However, i've noticed a lot of 6-8 bot...
|
Gunz The Duel
06/08/2006 - Main - 7 Replies
Also ich hab mal mein erstes Video von Gunz The duel gemacht:
-falls des wo anders hingehört dann bitte ich um entschuldigung
-bitte gebt euren kommentar ab und vieleicht auch tipps wie ich es besser machen kann
http://rapidshare.de/files/22266107/Die_Se...teil _1.wmv.html
mein video
|
MxO Get a CQ point from a /duel (Dirty-Duel)
06/03/2005 - General Gaming Discussion - 0 Replies
Want an easy way to piss someone off?
Offer them a /duel then as you are about to win, during the slo-mo finishing move animation quickly type:
/duel stop
This will not only give you a free CQ point, but will force them to go back to the loading area instead of just poping back up, hence the name "Dirty-Duel"
NOTE: for even better effectiveness you can go ahead and type it out and wait to press Enter untill the golden moment...
|
All times are GMT +1. The time now is 10:32.
|
|