Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 7:06 pm

All times are UTC


Forum rules


Make sure your tutorials are kept up to date with the latest MS4 releases.



Post new topic Reply to topic  [ 1259 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 51  Next
Author Message
 Post subject: Re: Fishing
PostPosted: Sat Mar 28, 2009 5:54 pm 
Offline
Persistant Poster
User avatar

Joined: Fri Aug 15, 2008 3:11 pm
Posts: 633
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

_________________
╔╗╔═╦═╦══╦═══╗
║║║║║║║╔╗║╔═╗║
║║║║║║║╚╝║║║║║
║╚╣║║║║╔╗║╚═╝║
╚═╩╩═╩╩╝╚╩═══╝


╔╦═╦╦════╦═══╗
║║║║╠═╗╔═╣╔══╝
║║║║║║║║╚═╗
║║║║║║║║╔═╝
╚═╩═╝╚╝╚╝ ?


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sat Mar 28, 2009 7:32 pm 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
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.

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sat Mar 28, 2009 8:14 pm 
Offline
Persistant Poster
User avatar

Joined: Fri Aug 15, 2008 3:11 pm
Posts: 633
your going to think im crazy but it wasnt there the first time

_________________
╔╗╔═╦═╦══╦═══╗
║║║║║║║╔╗║╔═╗║
║║║║║║║╚╝║║║║║
║╚╣║║║║╔╗║╚═╝║
╚═╩╩═╩╩╝╚╩═══╝


╔╦═╦╦════╦═══╗
║║║║╠═╗╔═╣╔══╝
║║║║║║║║╚═╗
║║║║║║║║╔═╝
╚═╩═╝╚╝╚╝ ?


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sat Mar 28, 2009 8:54 pm 
Offline
Pro

Joined: Mon May 29, 2006 5:01 pm
Posts: 420
Location: Canada, BC
Google Talk: anthony.fleck@gmail.com
In 3.77 all those variables have been replaced with EditorTileX and EditorTileY.

It shouldn't really matter where they are placed, just that they are in there somewhere.


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sun Mar 29, 2009 12:11 am 
Offline
Newbie

Joined: Wed Mar 25, 2009 11:58 pm
Posts: 8
Haha... I did the tutorial over again one last time and it worked like a charm... there is one fishy thing though (no pun intended), When I tested it I never caught anything all it said was, "Your attempt at catching a fish, has failed." (lol what's up with that comma there xD) Any way thanks for all your help! I get much more help from you guys then I do from the egotistical people over at Elysium -points at Robin- haha just kidding, I having nothing against him.


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sun Mar 29, 2009 8:38 pm 
Offline
Regular

Joined: Thu Mar 19, 2009 9:42 am
Posts: 30
I've a problem in this line to the ModPlayer to the serveur:
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


This bug that occurs when the player does not have the objects to fish, and the server crash which is very annoying!
Please help me :oops:
THX


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Mon Mar 30, 2009 3:12 pm 
Offline
Regular

Joined: Thu Mar 19, 2009 9:42 am
Posts: 30
Up , pls ! :D


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Tue Mar 31, 2009 4:19 am 
Offline
Persistant Poster
User avatar

Joined: Wed Nov 29, 2006 11:25 pm
Posts: 860
Location: Ayer
What's the error?

Try this

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

_________________
Image


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Tue Mar 31, 2009 3:33 pm 
Offline
Regular

Joined: Thu Mar 19, 2009 9:42 am
Posts: 30
This line of code and already included in my source code is and always!

:arrow: The code is now I think, when the attacking player melee (unarmed) or when he can not lure ...


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Wed Apr 01, 2009 1:32 am 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
No, we want the specific RTE number. Tell us what it actually says, such as: "Runtime Error 9: Subscript out of Range", or some BS, or "Run Time Error 13: Type Mismatch", etc, etc.

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Wed Apr 01, 2009 5:34 am 
Offline
Regular

Joined: Thu Mar 19, 2009 9:42 am
Posts: 30
"Runtime Error 9: Subscript out of Range" :?


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Fri Apr 03, 2009 12:11 pm 
Offline
Regular

Joined: Thu Mar 19, 2009 9:42 am
Posts: 30
Up pls !


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Fri Apr 03, 2009 9:50 pm 
Offline
Regular

Joined: Thu Mar 19, 2009 9:42 am
Posts: 30
Up!
Pls help me , my game is bugged ...
A Error 9 is present ... :cry:


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sat Apr 04, 2009 9:03 am 
Offline
Knowledgeable

Joined: Thu Nov 22, 2007 2:59 pm
Posts: 143
Location: London, England
Google Talk: aeronjl+mirage@googlemail.com
What line is highlighted in the IDE?


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sat Apr 04, 2009 9:10 am 
Offline
Regular

Joined: Thu Mar 19, 2009 9:42 am
Posts: 30
This line
Code:
GetPlayerInvItemNum = Player(Index).Char(TempPlayer(Index).CharNum).Inv(InvSlot).Num


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sat Apr 04, 2009 1:54 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Add something like: If FishRod > 0 Then

Above the If FishBait <> 0

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sun Apr 05, 2009 3:29 pm 
Offline
Regular

Joined: Thu Mar 19, 2009 9:42 am
Posts: 30
A Error 9 is present ...
Help me pls


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sun Apr 05, 2009 3:32 pm 
Offline
Pro
User avatar

Joined: Tue Apr 22, 2008 2:15 am
Posts: 597
you really need to post the line of code it highlights. else we can't help you to well...


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sun Apr 05, 2009 3:38 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Nean wrote:
Add something like: If FishRod > 0 Then

Above the If FishBait <> 0

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sun Apr 05, 2009 8:01 pm 
Offline
Regular

Joined: Thu Mar 19, 2009 9:42 am
Posts: 30
in this line to the ModPlayer to the serveur :

Code:
GetPlayerInvItemNum = Player(Index).Char(TempPlayer(Index).CharNum).Inv(InvSlot).Num


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sun Apr 05, 2009 8:15 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Nean wrote:
Nean wrote:
Add something like: If FishRod > 0 Then

Above the If FishBait <> 0

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sun Apr 05, 2009 9:18 pm 
Nean wrote:
Nean wrote:
Nean wrote:
Add something like: If FishRod > 0 Then

Above the If FishBait <> 0


Give up, Nean. He's not taking the hint. At all..


Top
  
 
 Post subject: Re: Fishing
PostPosted: Sun Apr 05, 2009 9:28 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Matt wrote:
Nean wrote:
Nean wrote:
Nean wrote:
Add something like: If FishRod > 0 Then

Above the If FishBait <> 0


Give up, Nean. He's not taking the hint. At all..


Yeah. If he's too stupid to take the hint, than he doesn't deserve the help.

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sat Apr 11, 2009 7:31 am 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Hmmm, I went through and added all of this to the newest Mirage, and found a few errors. For starters:

Code:
        If GetPlayerInvItemNum(Index, GetPlayerEquipmentSlot(Index, Weapon)) = FishRod Then
is causing a packet malfunction (Hack attempt), if you don't have it equipped. If I just do it:
Code:
 If GetPlayerEquipmentSlot(Index, Weapon) = FishRod Then
Than it works just fine. Someone know what's going on?

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Fishing
PostPosted: Sat Apr 11, 2009 3:46 pm 
No, see.. You have to check the inventory, to find the slot that the rod is equipped in..


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1259 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 51  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group