| Mirage Source http://web.miragesource.net/forums/ |
|
| Code Help http://web.miragesource.net/forums/viewtopic.php?f=201&t=4510 |
Page 1 of 1 |
| Author: | timster0 [ Sun Oct 05, 2008 9:36 pm ] |
| Post subject: | Code Help |
![]() Could someone help me to make it so it will show the party members names, and tell me how to make it so It ill show the stats in the area I highlighted? I've get everything working pretty much in the Party box, just need the names done and I'll make a Tut. Also, whenever I try to use the "Join Party" button I get this:
|
|
| Author: | timster0 [ Mon Oct 06, 2008 11:07 pm ] |
| Post subject: | Re: Code Help |
Sorry for the double post but, could someone PLEASE help me? |
|
| Author: | Lea [ Tue Oct 07, 2008 12:56 am ] |
| Post subject: | Re: Code Help |
For the stats box, make a label for each entry and put the values in on Form_Load A list box would work for hte party members, have that fill in on Form_load too. I dont know the problem with your click code without more info |
|
| Author: | JadeCurt1ss [ Tue Oct 07, 2008 4:50 pm ] |
| Post subject: | Re: Code Help |
Post your code, I'm curious how you got the party system to work. |
|
| Author: | timster0 [ Tue Oct 07, 2008 11:16 pm ] |
| Post subject: | Re: Code Help |
Thanks, when you say values, do you mean like this? Code: lbllv.Caption = GetPlayerLevel(Index)
|
|
| Author: | Lea [ Tue Oct 07, 2008 11:24 pm ] |
| Post subject: | Re: Code Help |
uh huh CStr(GetPlayerLevel(Index)) |
|
| Author: | timster0 [ Tue Oct 07, 2008 11:28 pm ] |
| Post subject: | Re: Code Help |
Thanks, now though i get "variable not defined". Sorry for all the questions but I'm new to programming. |
|
| Author: | timster0 [ Wed Oct 08, 2008 12:25 am ] |
| Post subject: | Re: Code Help |
Once again, sorry to double post. I'm trying to get it to join a party with the player's target, bit I get "compile Error:Expected Array" with this code. Code: Private Sub lbljoin_Click()
Dim Index As Long Dim i As Long Dim TempPlayer As String TempPlayer(Index).Target = i Call SendJoinParty(GetPlayerName(i)) End Sub |
|
| Author: | Satharis [ Wed Oct 08, 2008 7:31 pm ] |
| Post subject: | Re: Code Help |
Code: TempPlayer(Index).Target = i Call SendJoinParty(GetPlayerName(i)) End Sub Well the problem may be more deep seated but for one you have the assignment operator backwards. Code: i = TempPlayer(Index).Target The way you were doing it was telling target to be set to i, when you want it vice versa. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|