CPS and Mall

11/30/2018 16:40 drakonman#1
Hey all,

I was wondering how do i go about putting the cash shop and cps currency into my game, Im on 5165 client but its been removed previously and want to add it back

Thanks :D
12/02/2018 05:36 LepEatWorld#2
Quote:
Originally Posted by drakonman View Post
Hey all,

I was wondering how do i go about putting the cash shop and cps currency into my game, Im on 5165 client but its been removed previously and want to add it back

Thanks :D
The currency you can change with the itemtype both in your source and in the client. The same goes for the Shop.ini file. The ShoppingMall(if that's what you're referring to) is "Shop 25" if I remember correctly. You could also find the shop by searching for the items being sold.
12/12/2018 08:35 Spirited#3
You would need to add a database column for saving CPs to a character. Then, you'd need to add the field to your character class on the game server and load the column from the database into that field. Then, you'd have to make sure the character starts with the right CP count on login which is the MsgUserInfo packet (1006). Then, you'd have to make sure that when the player uses CPs at a store, it gets processed correctly. Shopping mall is removed and added via a MsgAction packet (1010) on login.
12/12/2018 16:25 drakonman#4
Why is it that i cant find either of those packets?
SMALL[PM]
#2028

add me on discord :)
12/12/2018 17:24 Spirited#5
Quote:
Originally Posted by drakonman View Post
Why is it that i cant find either of those packets?
SMALL[PM]
#2028

add me on discord :)
Sorry, I can't help you.
This is where our conversation ends. I do not approve of the actions of your staff.
[Only registered and activated users can see links. Click Here To Register...]
12/12/2018 17:36 drakonman#6
Spirited i have sent you an email after the one you have sent me, Could you please reply, Thanks bud
12/12/2018 17:51 Spirited#7
Quote:
Originally Posted by drakonman View Post
Spirited i have sent you an email after the one you have sent me, Could you please reply, Thanks bud
I see, that's unfortunate. If that's the case, then I'll see to dealing with this when I get home from work.
12/12/2018 17:59 drakonman#8
Quote:
Originally Posted by Spirited View Post
I see, that's unfortunate. If that's the case, then I'll see to dealing with this when I get home from work.
No prob mate hope you get back to me! Sorry for the inconvenience xD
12/13/2018 20:18 drakonman#9
Hey spirited ive added you on discord, Not sure if i've found the right packet but would like to show you to make sure it is, Cheers
12/14/2018 05:02 Spirited#10
Quote:
Originally Posted by drakonman View Post
Hey spirited ive added you on discord, Not sure if i've found the right packet but would like to show you to make sure it is, Cheers
I appreciate that you want my help in particular, but as I said in private multiple times now, email is the only way to contact me off the forum. I will not add you on Discord so you can blast questions at me, so please respect my privacy. That's also part of my communication agreement. Additionally, I mentioned a few times now that my email is for real programming questions / career advice. It's not for questions like "how do I add this already very documented feature to my source". I'll be updating my communication agreement tonight to reflect that as well.

Looking over all your recent questions, you don't seem to have an understanding of server programming or the layout of your source code. Nobody can help you until you do that, as we can't understand what you're looking at unless you understand what you're looking at. We can't help you unless you can first attempt to help yourself. I don't have time to mentor someone like that right now over Discord, either. We have a forum for that reason. It has answers and people who can help you through a process. I'm not trying to blow you off when I direct you here, I'm trying to get you the proper help you need, but you also need to make an effort before posting a question.
12/14/2018 10:34 drakonman#11
That is absolutely no problem i completely respect your privacy and didn't think it would be an issue, So im sorry for that bud,

Secondly, i think im confusing you guys with what im trying to do so ill start again,
Basically I have a very good understanding of the source im working on (The One That Doesnt Have Cps/Shopping mall) As that has been completely removed from the source,

Now im having to look in other sources like redux for example for the packets for cp currency and the shopping mall, as im still learning packets and stuff at the minute, and just wanted a bit of direction on finding it.

[Only registered and activated users can see links. Click Here To Register...]