Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Matt Wrote:Bug, seems small, but it's a big thing with this system.
Find:
Code: If GetPlayerEquipmentSlot(Index, Weapon) = FishRod Then
Replace with:
Code: If GetPlayerInvItemNum(Index, GetPlayerEquipmentSlot(Index, Weapon)) = FishRod Then
I've typed that in wrong so many times. I've learnt to check for it now.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
A small addon you could do, is to add a tickcount timer to force the player to wait a period of time, like 30 seconds, so it actually takes time to fish and blit an icon above the player's head, so that everyone knows the player is fishing.
I suggest adding a loading bar of sorts to show how much time is left.
Matt Wrote:A small addon you could do, is to add a tickcount timer to force the player to wait a period of time, like 30 seconds, so it actually takes time to fish and blit an icon above the player's head, so that everyone knows the player is fishing.
I suggest adding a loading bar of sorts to show how much time is left.
Thanks for all the feedback guys. And thanks Matt, I think I'll go ahead and give that a try. Shouldn't be too hard, though I haven't used GetTickCount for timing, before. This could be a challenge. I dunno, we'll see.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Nean Wrote:Matt Wrote:A small addon you could do, is to add a tickcount timer to force the player to wait a period of time, like 30 seconds, so it actually takes time to fish and blit an icon above the player's head, so that everyone knows the player is fishing.
I suggest adding a loading bar of sorts to show how much time is left.
Thanks for all the feedback guys. And thanks Matt, I think I'll go ahead and give that a try. Shouldn't be too hard, though I haven't used GetTickCount for timing, before. This could be a challenge. I dunno, we'll see.
Code: If GetTickCount > TimerValue + 3000 then
' code to check something
TimerValue = GetTickCount
end if
All it does is store the 'current' time in the TimerValue, then checks to see if it is 3 seconds ahead of when it was stored. The code in the if statement will run as soon as 3 seconds has passed since it was last run, then the new current time is stored in the TimerValue, allowing a loop.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
No problem. I used your system as a base and highly modified it. It's actually a really good base system. Me and Rian were fishin' for about an hour just because it was so awesome. Lol.
Hello , i've a problem !
I don't find this code :
Code: ' Used for map key open editor
Public KeyOpenEditorX As Long
Public KeyOpenEditorY As Long
How is this sub code?
thank you :wink:
when I try to fish I get booted from the server for packet modification... Did I do something wrong?
what code does it highlight and make sure you put it in right
Doomy Wrote:what code does it highlight and make sure you put it in right
Doesn't highlight anything. It calls a hacking attempt, for packet modification. Odds are, he's got something mixed up.
I thought it would highlight which packet was being modified if he ran it in vb6.
Yeah it compiles fine... It's just when I push ctrl to fish it boots me off for packet modification, I'll just go through everything again and see if it was my fault.
Edit: Is it the client that calls the Packet modification or the server? Just trying to get a general idea of where the issue might be.
kasuko Wrote:Yeah it compiles fine... It's just when I push ctrl to fish it boots me off for packet modification, I'll just go through everything again and see if it was my fault.
Edit: Is it the client that calls the Packet modification or the server? Just trying to get a general idea of where the issue might be.
All hacking attempts are called via the server.
Thanks for your quick reply, I just checked everything in client and server. It all checked out okay according to the tutorial I don't know what else to do.
Your packets are messed up.
Hello, I have a little problem here the player goes on the box to sin, if he did not have bait, there is a bug in the server! :oops:
In this Modplayer :
Code: Function GetPlayerInvItemNum(ByVal Index As Long, ByVal InvSlot As Long) As Long
GetPlayerInvItemNum = Player(Index).Char(TempPlayer(Index).CharNum).Inv(InvSlot).Num
End Function
Hey Rian is it the things that are listed? The things that have to be listed in two lists in the same exact order? Thanks for telling me the exact problem ^_^
Edit: Man this really stinks I have no clue what I'm doing wrong... I tried it on a clean source and I still get the same problem...
are you sure your using ms4 and not ms3
Yeah I'm positive I'm using MS4
Me too i'm using MS4 , but i've a problem
help me pls :oops:
Has anyone figured out the exact problem, I've redone this tutorial on a blank source two times now. So I know it's not me.
kasuko Wrote:Has anyone figured out the exact problem, I've redone this tutorial on a blank source two times now. So I know it's not me.
Upload your source and send me the link via PM.
Code: ' Used for map key open editor
Public KeyOpenEditorX As Long
Public KeyOpenEditorY As Long
There is no longer that in ms4
so he never put this in the right place
Code: 'Used for the fish editor
Public FishNumber As Long
Public ToolNumber As Long
Public BaitNumber As Long
that might be his case idk didnt really look
Code: Public KeyOpenEditorX As Long
That's in my MS4. I'm using version 3.74 though. You should be able to find it in ModGlobals.
your going to think im crazy but it wasnt there the first time
|