View Full Version : Cruise application assistance (Was: Command !send)
sun
26th March 2008, 16:20
Hi,
i manageg to get the MST message working, but when i type in !send 40 sun it says 'host send money to host'.
Code:
case"!send":
InSim.Send_MST_Message("/msg ^7" + Connections[GetConnIdx(MSO.UCID)].PlayerName + " ^7Sent money to " + Connections[GetConnIdx(UniqueID)].UName);
break;
any one help ?
if u can please post
Regards
Owen.
ReVoX
26th March 2008, 17:57
Double post!
http://www.lfsforum.net/showthread.php?t=40578
the_angry_angel
26th March 2008, 18:05
Although badly worded there is a difference. In that post Owen was asking for help to write it.
Here he is asking for it to be written for him. These, in my mind, are two entirely different requests and should be treated as such.
It should be noted that Owen is most likely using the C# cruise example posted in the main subforum.
ReVoX
26th March 2008, 18:07
yes, i saw, but in the other he asked also for the code :nod:
the_angry_angel
26th March 2008, 18:16
I was hoping that people would have the intelligence to understand why this thread was made, and to treat this thread separately because it was reposted here.
I was hoping for a fresh start for Owen if you will, in the hope that we can get some sort of balance back here and to clear what is rapidly becoming the Owen vs. the world argument that constantly forms in the main programmers area without the moderators having to resort to a banning.
Owen has posted here, relatively clearly asking for code, not asking for help and then expecting it to be written instead of getting advice. He's actually asking for the code. In short he's posted correctly, in the right place. Is this too subtle a difference for you ladies and gentlemen? Do I have the hammer the point home some more?
Prove to me that I was not mistaken and that I was not expecting too much from some certain people.
If you have something useful to post, such as assisting Owen, please do so. Otherwise do not.
mcgas001
26th March 2008, 18:22
I was hoping that people would have the intelligence to understand why this thread was made, and to treat this thread separately because it was reposted here.
I was hoping for a fresh start for Owen if you will, in the hope that we can get some sort of balance back here and to clear what is rapidly becoming the Owen vs. the world argument that constantly forms in the main programmers area without the moderators having to resort to a banning.
I think he needs a ban myself. Look in the LFS_External thread. Shaun is 9 years old. 2 years younger then Owen and because he is appling learning to his concept. He is doing 1000x better then sun. Also not spamming the forum with stupid posts.
Owen has posted here, relatively clearly asking for code, not asking for help and expecting it to be written. Is this too subtle a difference?
Asking for code, Now theres a surprise.
Prove to me that I was not mistaken and that I was not expecting too much from some certain people.
Namly me as i reported the post for 1. wrong section and 2.this is a fraction different from the other thread. So why make a new one?
If you have something useful to post, such as assisting Owen, please do so. Otherwise do not.
I have something usefull to say. People need to stop helping sun in order for him to learn. If people keep assisting him then hes never gonna apply the concept of learning to write programs.
the_angry_angel
26th March 2008, 19:01
Shaun is not relevant to this discussion.
this is a fraction different from the other thread. So why make a new one?Because it's about how something is being asked or requested - this is what the problem has been between several people and sun.
Consider this: sun has posted a request like TFalke55, Riders Motion, etc. have recently. Consider this to be a first post. A fresh start and treat it as such.
If people keep assisting him then hes never gonna apply the concept of learning to write programs.Teaching people to program has never been the goal.
I'll state once more; If you can't get on board with this idea then do not post. If you disagree with a post or thread then report it and be on your way. Do not spam, do not provoke.
If things go back to the way they were then things will obviously have to change one way or another. If this results in removing a party for some peace, then so be it.
DarkTimes
26th March 2008, 19:25
Can I ask a general question, having never been to a cruise server, when you do things like type "!send 20 sun", are you using the players LFS username or their in-game nickname?
dougie-lampkin
26th March 2008, 20:16
The !send command sends the cash to a username. This is why a foreach loop is perfect, and is what I have used in my insim program.
I'm not contributing to spam by saying this (I hope I'm not, I'm not trying anyway), but I have tried helping Sun in the past. I can appreciate that due to his age, he won't learn as fast as others. But he just seems to have an unwillingness to learn. And I don't see the point in someone doing all of it for him, then no-one gains anything...
Maybe he's just too ambitious or something, but it just seems like it's not going to work...I will post help for him on the forum where I can, but I think private tuition is pointless until he learns the basics of Visual C# first. And I don't think someone here giving lessons in C# is the answer...but that's my opinion...
DarkTimes
26th March 2008, 20:48
If someone is willing to help out Owen/sun then consider this to be a request for longer term help and introduction to programming.
OK well, I didn't see that before I wrote it.
I have implemented this feature (quite probably very badly) into the Cruise Example code. I will post it here, but please do not take this as a committal of help to Owen. Of course I will help him in general if I can, as I like to think I try to help everyone in this forum (quite probably very badly), but I'm not going to try teach him how to program.
Anyway, here it is. You type "!send 20 sun" and it will award them 20 more cash. It only allows the server admin to award cash, but you can comment out that part of the code if you want.
Edit: Realised I'd changed the admin password, which could cause confusion, so I've uploaded a corrected version.
sun
26th March 2008, 21:28
ld like to thank you darkvtimes, for helping me with somthing what i have been trying to programm for ages :)
for a treat you get £300k on my server :)
I Really apreciate it (cant spell it lol) :)
Thank you again :D
Regards
Owen.
DarkTimes
26th March 2008, 21:46
for a treat you get £300k on my server :)
Um... thanks.
Anyway, I'd glad you're happy. A little less spam posts now, OK? :)
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.