Izanagi Posted February 13, 2010 Share Posted February 13, 2010 scripts: cs http://pastebin.com/m7759f8a9 ss http://pastebin.com/m771a024 Link to comment
50p Posted February 13, 2010 Share Posted February 13, 2010 If only you explained what your problem is, people wouldn't have to read the whole script to find out what you've done wrong. Link to comment
Izanagi Posted February 13, 2010 Author Share Posted February 13, 2010 what is wrong is that the gui dice images won't change and the gamble_hotResultLabel won't change it's name the givemoney server-side works, but I think the trigger server-side which calls the result client-side doesn't trigger the clientside events, which would result in the problem i am at. I am not sure what should I do to fix it thom as i don't see anything that may be wrong, but i am 100% sure that i am wrong. i have done a similair 'kitsune bakuchi' script with 3 dices, and it works just nicely, but this, on the other hand, does not. Link to comment
50p Posted February 13, 2010 Share Posted February 13, 2010 With that info, we can easily look at your code and know what to look for. Server-side: - From what I noticed, your server-side function gamble_hotTestPlay is never called. - At line 39, gamble_kitsuneBakuchiTestPlay is nil or it's a function which you didn't show us. You probably want to change it to gamble_hotTestPlay. Link to comment
Izanagi Posted February 13, 2010 Author Share Posted February 13, 2010 With that info, we can easily look at your code and know what to look for.Server-side: - From what I noticed, your server-side function gamble_hotTestPlay is never called. - At line 39, gamble_kitsuneBakuchiTestPlay is nil or it's a function which you didn't show us. You probably want to change it to gamble_hotTestPlay. line 39 fixed, uploaded old code. i'll check the first issue you mentioned again. Link to comment
Izanagi Posted February 13, 2010 Author Share Posted February 13, 2010 reply nope, that's just the function's name 'testPlay' it's 'requestPlay' clientside as well as in addEvent Link to comment
Izanagi Posted February 13, 2010 Author Share Posted February 13, 2010 kk /me has fixed that somehow for some reason the fixing of diceChosen to dieChosen fixed this. still getting warnings or killtimer function, tho... the one when 'resetTimer' has a nil value and killTimer is called with a nil value, not sure why my if doesn't work tho doesn't matter tho, still works nicely Link to comment
Izanagi Posted February 13, 2010 Author Share Posted February 13, 2010 here you have an example of a lazy man who doesn't check his scripts thoroughly. don't be like him (me) Link to comment
50p Posted February 13, 2010 Share Posted February 13, 2010 Use EDIT button to edit your post. Don't post 4 times in a row. So, you don't get any errors or warnings any more? When you make scripts, always make them without warning and error messages, even if it works with warnings, get rid of them. Link to comment
Izanagi Posted February 13, 2010 Author Share Posted February 13, 2010 I try to do that, and ye i fixed them i'm glad that forums are alive it's been a while since i scripted, hehe off to bed and then gonna make blackjack script got guy and images done already, what is left is the way it works. goodnight Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now