| Mirage Source http://www.miragesource.net/forums/ |
|
| Sub AppActivate http://www.miragesource.net/forums/viewtopic.php?f=210&t=598 |
Page 1 of 2 |
| Author: | lordgivemick [ Thu Oct 05, 2006 11:12 am ] |
| Post subject: | Sub AppActivate |
Code: Sub AppActivate()
Dim Anim As Byte Dim x As Long, y As Long ' Only used if ever want to switch to blt rather then bltfast With rec_pos .top = GetPlayerY(information) * PIC_Y + Player(Index).YOffset .Bottom = .top + PIC_Y .Left = GetPlayerX(Index) * PIC_X + Player(Index).XOffset .Right = .Left + PIC_X End With i think i broke somthign this time lol. well the problem here is the word infromation and if its not information then its index this is somthign added from one of the totorials so this should be in this area lol. |
|
| Author: | Leighland [ Thu Oct 05, 2006 3:59 pm ] |
| Post subject: | |
Change information to index... When using GetPlayerY() you need to tell the client which player you are trying to find the Y Co-Ordinate of. |
|
| Author: | lordgivemick [ Thu Oct 05, 2006 9:36 pm ] |
| Post subject: | |
Well i changed it to index. when i changed it to index it said index was a varible not defined so now wht do i do. and thanx for the help so far. |
|
| Author: | Misunderstood [ Thu Oct 05, 2006 9:38 pm ] |
| Post subject: | |
Knowing what you are trying to do would help... |
|
| Author: | lordgivemick [ Thu Oct 05, 2006 10:39 pm ] |
| Post subject: | |
well when i was going though fixing the code i thin i acedently change the name of somthing sub??????? to sun appactivate but i wish i new what sub it was. to help out it was in MODGAMELOGICS client side but i think its one of the blts just dont now what one lol. |
|
| Author: | lordgivemick [ Thu Oct 05, 2006 10:53 pm ] |
| Post subject: | |
i fixed it and when i fixed it. and when i fixed it it fixed two more glicthes in the process it was really funny and you can laugh at this if you want I deleted the name I had it doubled one with the name and one with out thats why the first time it caled it an error becuase there hwere two of them Im such an idiot. Well now I need to now how to fix this. its in at the bottom of proccess movements i think this is the last error Edited) it was varible not defind meaning it needs a funtion thingy tellin the system what it does dont it. but which one. Code: If Button = vbRightButton Then
If Not InEditor Then Call CharMove(x, y) End If End If i think its for the click to move thing. it says button is an error i think it was compiling error or function not there or somthignlike that. |
|
| Author: | Misunderstood [ Thu Oct 05, 2006 11:01 pm ] |
| Post subject: | |
please, do not use caps like that. It is totally unnecessary. Are you shouting? I hope not. Also my previous comment wasn't trying to say it would be good if you knew what you were trying to do(that is obviously a must), but it would be good if you told us what you were trying to do. We aren't magicians, nor psychics |
|
| Author: | lordgivemick [ Thu Oct 05, 2006 11:26 pm ] |
| Post subject: | |
well this is a part of the movement (my way) by william and i cant figure out where this goes the rest is easy but this. sorry i accedently pressed cap lock and was to lazy to go back and fix it. Code: If Button = vbRightButton Then
If Not InEditor Then Call CharMove(X, Y) End If End If ps im crazy movement ya dance anyone. lol post it as a ps only if you help lol thanx. |
|
| Author: | Verrigan [ Thu Oct 05, 2006 11:35 pm ] |
| Post subject: | |
I took the liberty of uncapitalizing your post, but I didn't fix any spelling/grammar mistakes because I was too lazy. |
|
| Author: | Misunderstood [ Thu Oct 05, 2006 11:44 pm ] |
| Post subject: | |
If this is part of the movement your way, wouldnt it go where you want it to go? I would think 'you' should put it in a sub that handles when a mouse is pressed. Though if you will put it there is up to you. |
|
| Author: | lordgivemick [ Fri Oct 06, 2006 12:09 am ] |
| Post subject: | |
thanx verrigan but ok mis i tried ot just put it anywhere it keeps commign up as the word button. it says it doesnt belong there or the function was expected or the varible or it doesnt not belong in this group some thign like thta i just need to now what thing to put it in like what mouse button area at least that will get me somwhere. |
|
| Author: | Misunderstood [ Fri Oct 06, 2006 8:39 pm ] |
| Post subject: | |
where did you try to put it? |
|
| Author: | lordgivemick [ Fri Oct 06, 2006 8:47 pm ] |
| Post subject: | |
nywhere that it had to do with a mouse lol. i dont now where it goes. william does only becuase he made it lol. |
|
| Author: | Misunderstood [ Fri Oct 06, 2006 9:46 pm ] |
| Post subject: | |
saying the methods you put it in would be a good way of saying where you put it... I can't tell from what you said where you put it, there are many places that have to do with the mouse and how I am, or anyone else, supposed to know what method you missed. |
|
| Author: | Matt [ Sat Oct 07, 2006 2:29 am ] |
| Post subject: | |
Punctuation, it's your friend. Try using it. What tut did you add for all of this? |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|