[Tiny-Release] Buying Attribute Points! 5165 Source...

01/21/2010 02:06 killersub#1
#REMOVED! I MADE AN ALL-IN-ONE THREAD ABOUT IT!

#Request Close
01/21/2010 02:11 Korvacs#2
You never send the client the updated Attribute points, so as far as the client is concerned, nothing happens.

You need to test your code before you release it, or atleast read it.

Your second if statement should just simply be an else statement.
01/21/2010 02:17 killersub#3
Quote:
Originally Posted by Korvacs View Post
You never send the client the updated Attribute points, so as far as the client is concerned, nothing happens.

You need to test your code before you release it, or atleast read it.

Your second if statement should just simply be an else statement.
lol im a newb I know...I have tested this already and it works on my server "Fine"...I'll try and learn more C# on the way okay?:)
01/21/2010 02:18 Korvacs#4
Quote:
Originally Posted by killersub View Post
lol im a newb I know...I have tested this already and it works on my server "Fine"...I'll try and learn more C# on the way okay?:)
It cant possibly work fine on your server, you never send the updated values to the client, how can it possibly work fine if the client never finds out that these values have changed?
01/21/2010 02:21 killersub#5
Quote:
Originally Posted by Korvacs View Post
It cant possibly work fine on your server, you never send the updated values to the client, how can it possibly work fine if the client never finds out that these values have changed?
wait...hold up...what are you trying to say here lol? you got me confused...you mean that the code doesn't update the attribute points to get bought and go up 5?
01/21/2010 02:22 Korvacs#6
Quote:
Originally Posted by killersub View Post
wait...hold up...what are you trying to say here lol? you got me confused...you mean that the code doesn't update the attribute points to get bought and go up 5?
Your code updates the attribute value on the server, but it never tells the client that the value has changed. :facepalm:
01/21/2010 02:24 .Ryu#7
Quote:
Originally Posted by Korvacs View Post
Your code updates the attribute value on the server, but it never tells the client that the value has changed. :facepalm:
Korvacs give him a break he doesent know c# very well
@Killers goodjob anyways
01/21/2010 02:25 killersub#8
Quote:
Originally Posted by Korvacs View Post
Your code updates the attribute value on the server, but it never tells the client that the value has changed. :facepalm:
Oh...sorry if I can't code for shit lol...but it still updates the attribute points doesn't it? it's good if a noob is going to use it and not spam me "how to use this"...

Quote:
Korvacs give him a break he doesent know c# very well
@Killers goodjob anyways
Thanks for being appreciative bro :)

Quote:
The more you try the better you get just remember that :P
Always did and always will...thanks again!
01/21/2010 02:28 .Ryu#9
Quote:
Originally Posted by killersub View Post
Oh...sorry if I can't code for shit lol...but it still updates the attribute points doesn't it? it's good if a noob is going to use it and not spam me "how to use this"...



Thanks for being appreciative bro :)
The more you try the better you get just remember that :P
01/21/2010 02:29 Korvacs#10
Quote:
Originally Posted by .Ryu View Post
Korvacs give him a break he doesent know c# very well
@Killers goodjob anyways
He didnt even try the npc, and ya know why? Because it isnt his, anyone planning to release something should atleast test it to see if it functions as intended. :facepalm:

How many people are going to reply now saying that it doesnt work i wonder?
01/21/2010 02:33 ~Yuki~#11
it sint his but well even without the packet the client shows changes weird eh?
01/21/2010 02:34 killersub#12
Quote:
Originally Posted by Korvacs View Post
He didnt even try the npc, and ya know why? Because it isnt his, anyone planning to release something should atleast test it to see if it functions as intended. :facepalm:

How many people are going to reply now saying that it doesnt work i wonder?
Like I say in my topics..."THE CODE IS NOT MINE IT'S FROM 4BOTTERS" did you see that part? And yea I can't code for shit but does it mean you have to go ape on me for just a code I'm trying on?...
01/21/2010 02:35 Korvacs#13
Ah, the 5165 source sends packets on setting the value iin character.cs, sorry i never expected a lotf source to be even remotely intelligent.

I wasnt going ape at you, it appeared as though you had released something that didnt work, which causes problems, no release is better than a broken release.
01/21/2010 02:37 killersub#14
Quote:
Originally Posted by Korvacs View Post
Ah, the 5165 source sends packets on setting the value iin character.cs, sorry i never expected a lotf source to be even remotely intelligent.
If you don't like the way I code or try simply just don't read my topic bro...with all due respect I'm the newb trying here and I don't want more problems on top of my head...

Quote:
I wasnt going ape at you, it appeared as though you had released something that didnt work, which causes problems, no release is better than a broken release.
Well this one does NOT cause a problem which makes it a better release than not a release...because I have it in my server now doing what I told u...
01/21/2010 06:51 Arcо#15
Quote:
Originally Posted by Korvacs View Post
You never send the client the updated Attribute points, so as far as the client is concerned, nothing happens.

You need to test your code before you release it, or atleast read it.

Your second if statement should just simply be an else statement.

Korv in the source it doesn't do updates like the original lotf.
It would be great to know the source before you go tell him what is and whats not happening.