how to change the price of broadcast message

08/25/2012 04:59 lovestory#1
how to change the price of broadcast message please say the way to do that and thanks
08/25/2012 09:10 Novakhan#2
Source folder -> Network -> PacketHandler.cs and search for

Code:
case Broadcast.BroadcastMessage:
The price to send a message is in this case

To change the Urgents Messages prices, Scroll down.
08/25/2012 09:12 »Comatose«#3
Eh?!
08/25/2012 09:14 Novakhan#4
Hmm?
08/25/2012 15:17 I don't have a username#5
Quote:
Originally Posted by elhermanos View Post
Source folder -> Network -> PacketHandler.cs and search for

Code:
case Broadcast.BroadcastMessage:
The price to send a message is in this case

To change the Urgents Messages prices, Scroll down.
That'll not work in all sources. :facepalm:
08/25/2012 17:16 lovestory#6
i am talking about changing broadcast message price in server binary 5095
08/25/2012 18:09 I don't have a username#7
ini\StrRes.ini
08/25/2012 21:06 lovestory#8
not working say the way exactly if you are serious
08/25/2012 23:46 diedwarrior#9
He's not joking, the MESSAGE itself can be controlled through StrRes.ini number 11024 if I recall correctly.
08/26/2012 02:44 lovestory#10
i donot wanna to change the message of the price i wanna change the price it is self like make the broadcast for 10000cps per message ??
08/26/2012 02:49 manager2#11
Quote:
Originally Posted by I don't have a username View Post
ini\StrRes.ini
Quote:
Originally Posted by lovestory View Post
i donot wanna to change the message of the price i wanna change the price it is self like make the broadcast for 10000cps per message ??

Take the hint.

I don't know why I'm explaining this to you, probably because I've had about 8 cans of redbull and my hands are going fucking crazy.

You have two places to change the price.

1) The source (Where it checks if you have x cps and then if you do takes x CPs, be default 5)
2) Client side, To change the string where it says it will cost 5 CPs to send this message, it is not server side controlled. Though you could turn it serverside but I'm not getting into that.

In the source you just need to find out where it is handled(Normally packethandler) and change the check for CPs and the CPs removal.

In the client goto where I Don't have a username(aka problem) said, Client/Ini/StrRes.ini and find the default message(Something like "To send this message it will cost you 5CPs) find it, change it, save it.

It could be saved as a variable though, in that case you need to find the message and the variable name then find the variable and change it, though knowing conquer it could well affect other things.

If you need more help, then do ask.

loljk, kill yourself.
08/26/2012 06:55 lovestory#12
Quote:
Originally Posted by manager2 View Post
Take the hint.

I don't know why I'm explaining this to you, probably because I've had about 8 cans of redbull and my hands are going fucking crazy.

You have two places to change the price.

1) The source (Where it checks if you have x cps and then if you do takes x CPs, be default 5)
2) Client side, To change the string where it says it will cost 5 CPs to send this message, it is not server side controlled. Though you could turn it serverside but I'm not getting into that.

In the source you just need to find out where it is handled(Normally packethandler) and change the check for CPs and the CPs removal.

In the client goto where I Don't have a username(aka problem) said, Client/Ini/StrRes.ini and find the default message(Something like "To send this message it will cost you 5CPs) find it, change it, save it.

It could be saved as a variable though, in that case you need to find the message and the variable name then find the variable and change it, though knowing conquer it could well affect other things.

If you need more help, then do ask.

loljk, kill yourself.
thanks alot for your tring to help me but first point : i cannot find what are you talking about in source side and about changing client side the message that appear it will cost 5 cps it is easy to edit but i cannot really find how to do or edit the price after all your tring to help if u can explain more i will be thankfull to you .
and some one tell me it is need to edit the loader.exe he say it is control this .
08/26/2012 13:25 manager2#13
Quote:
Originally Posted by lovestory View Post
thanks alot for your tring to help me but first point : i cannot find what are you talking about in source side and about changing client side the message that appear it will cost 5 cps it is easy to edit but i cannot really find how to do or edit the price after all your tring to help if u can explain more i will be thankfull to you .
and some one tell me it is need to edit the loader.exe he say it is control this .
Ignore loader.exe, it has nothing to do with "it" iirc.

So you know how to change the message client-side, as for serverside you need to find where broadcasts are handled and it will be like
PHP Code:
if (client.CPs >= 5)
{
     
client.CPs -= 5;
     --
Send broadcast stuff or w/e--

Just change the 5's to the new value.
08/26/2012 13:28 Novakhan#14
Quote:
Originally Posted by manager2 View Post
Ignore loader.exe, it has nothing to do with "it" iirc.

So you know how to change the message client-side, as for serverside you need to find where broadcasts are handled and it will be like
PHP Code:
if (client.CPs >= 5)
{
     
client.CPs -= 5;
     --
Send broadcast stuff or w/e--

Just change the 5's to the new value.
It's normally handled in PacketHandler.cs.
08/26/2012 16:26 manager2#15
Quote:
Originally Posted by elhermanos View Post
It's normally handled in PacketHandler.cs.
If you read the entire thread you are just re-stating what I have already said.