![]() |
Fishing - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51) +----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44) +------ Forum: Tutorials (https://mirage-engine.uk/forums/forumdisplay.php?fid=13) +------ Thread: Fishing (/showthread.php?tid=2522) |
Re: Fishing - Robin - 25-02-2009 Matt Wrote:Bug, seems small, but it's a big thing with this system. I've typed that in wrong so many times. I've learnt to check for it now. Re: Fishing - Matt - 27-02-2009 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. Re: Fishing - Nean - 27-02-2009 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. 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. Re: Fishing - Robin - 27-02-2009 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. Code: If GetTickCount > TimerValue + 3000 then 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. Re: Fishing - Matt - 27-02-2009 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. Re: Fishing - Pix€l - 20-03-2009 Hello , i've a problem ! ![]() I don't find this code : Code: ' Used for map key open editor How is this sub code? thank you :wink: Re: Fishing - Rian - 20-03-2009 It's in modGlobals Re: Fishing - kasuko - 26-03-2009 when I try to fish I get booted from the server for packet modification... Did I do something wrong? Re: Fishing - Doomy - 26-03-2009 what code does it highlight and make sure you put it in right Re: Fishing - Matt - 26-03-2009 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. Re: Fishing - Doomy - 26-03-2009 I thought it would highlight which packet was being modified if he ran it in vb6. Re: Fishing - kasuko - 26-03-2009 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. Re: Fishing - Matt - 26-03-2009 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. All hacking attempts are called via the server. Re: Fishing - kasuko - 26-03-2009 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. Re: Fishing - Rian - 27-03-2009 Your packets are messed up. Re: Fishing - Pix€l - 27-03-2009 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 Re: Fishing - kasuko - 27-03-2009 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... Re: Fishing - Doomy - 27-03-2009 are you sure your using ms4 and not ms3 Re: Fishing - kasuko - 27-03-2009 Yeah I'm positive I'm using MS4 Re: Fishing - Pix€l - 28-03-2009 Me too i'm using MS4 , but i've a problem help me pls :oops: Re: Fishing - kasuko - 28-03-2009 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. Re: Fishing - Matt - 28-03-2009 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. Re: Fishing - Doomy - 28-03-2009 Code: ' Used for map key open editor There is no longer that in ms4 so he never put this in the right place Code: 'Used for the fish editor that might be his case idk didnt really look Re: Fishing - Rian - 28-03-2009 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. Re: Fishing - Doomy - 28-03-2009 your going to think im crazy but it wasnt there the first time |