madyotto
-
Posts
55 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Calendar
Posts posted by madyotto
-
-
Help PLZ
i got this working
But i REALLY REALLY need/want the auto direction change mentioned
but i cant find the mouse mouse SUB
i presume this is renamed in EO 2.0.0 like im using
could someone plz tell me what this is renamed to or tell me some steps to implement this auto direction change on EO2.0.0
Grate Many Thanks In Advance -
YOU MAY Also want to add this
http://www.touchofdeathforums.com/smf/index.php/topic,78696.0.html
and yes it has been tested with a fresh EO V2.0.0 :) =D
ALL Credits Go To Soul and ERWIN oh and me for the idea lol :P
THANKS FOR ADDING THE TUT
However
the tutorial description doesn't explain what this does
here's an example of a more accurate description
This Tell's You How To:
change the default (30) npc's per map to a number of your choice (100 max) is recommended
and then enable the map properties editor to add more than one npc at a time
SEE Spoiler
>! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/60ff9f1de283f9d991b95a8c5f45f9e1.png)
Here is the link i used for spoiler pic = http://www.freemmorpgmaker.com/files/imagehost/pics/60ff9f1de283f9d991b95a8c5f45f9e1.png -
ok so i wanted to try to make a mass AOE type game and change the amount of npc's to a map
now i can have up to 300 npc's on one map i will never use 300 but you have to delete maps to change this so i set it to 300 to play it safe (I only Recommend 100 per map)
i will actually only ever use a max of 150
pics of how this work are now at the bottom of the post
here is a NOOB friendly Tut on how to:
1\. change the max map npc's
2\. allow multi select in the map editor properties box
(so in just 3 clicks i can add 300 npc'sTHIS IS ALL THANKS TO = Soul and Erwin (And me for the idea lol :P)
Soul you are a real GENT
so here goes
1. To change the the max amount of npc's per map
open your client VBP file > open mod constants
Find:
```
Public Const MAX_MAP_NPCS As Long = 30
```
you can now change the max limit to what you want
simply replace the 30 with your required amount
NEXT:
repeat the above but with your server.VBP
HINT = client and server max map npc's have to match
after you have done this YOU WILL NEED to delete all of your map files in the server side
you can now add as many as you required
step 2\. (multi npc add)
Open your client.VBP > Right click frmEditor_MapProperties
and click view object then in the box that appears right click the lstnpc's box
then click properties
Then in the properties box
Find multi select and set the drop down to 2.extended
now right click the lstnpc's box and click view code
Now press Ctrl and F and:
find
```
' make sure it's not a clear
If Not cmbNpc.List(cmbNpc.ListIndex) = "No NPC" Then
npcNum = CLng(Left$(tmpString(0), Len(tmpString(0)) - 1))
Map.Npc(lstNpcs.ListIndex + 1) = npcNum
Else
Map.Npc(lstNpcs.ListIndex + 1) = 0
End If
```if the search doesn't find it click the search project button in the bottom left of the find box
now replace that with:
```
' make sure it's not a clear
If Not cmbNpc.List(cmbNpc.ListIndex) = "No NPC" Then
npcNum = CLng(Left$(tmpString(0), Len(tmpString(0)) - 1))
Else
npcNum = 0
End If
For x = 1 To MAX_MAP_NPCS
If lstNpcs.Selected(x - 1) Then
Map.Npc(x) = npcNum
End If
Next
```
and you are good to go play :)
control keys drag to select with mouse
SHIFT to select many IE. select number one scroll down hold SHIFT and click the last number in the block you want
HOLD CTRL to select only the ones you click on
PS. There is no support offered for the code as this is not my call and i can't do myself
but it is fully tested with EO 2.0.0 :) =D -
you missunderstand so i will post screenies you select as many as you want drag over the X amount you want to add of the same npc and select which npc i will add to tut now
THIS CAN BE REMOVED NOW I POSTED IT IN THE RIGHT PLACE :P
HERE : http://www.touchofdeathforums.com/smf/index.php/topic,78696.0.html -
YES IT SHOULD MY Bad
PLEASE MOVE :) -
ok so i wanted to try to make a mass AOE type game and change the amount of npc's to a map
now i can have up to 300 npc's on one map i will never use 300 but you have to delete maps to change this so i set it to 300 to play it safe
i will actually only ever use a max of 150
pics of how this work are now at the bottom of the post
here is a NOOB friendly Tut on how to:
1\. change the max map npc's
2\. allow multi select in the map editor properties box
(so in just 3 clicks i can add 300 npc'sTHIS IS ALL THANKS TO = Soul and Erwin
Soul you are a real GENT
so here goes
1. To change the the max amount of npc's per map
open your client VBP file > open mod constants
Find:
```
Public Const MAX_MAP_NPCS As Long = 30
```
you can now change the max limit to what you want
simply replace the 30 with your required amount
NEXT:
repeat the above but with your server.VBP
HINT = client and server max map npc's have to match
after you have done this YOU WILL NEED to delete all of your map files in the server side
you can now add as many as you required
step 2\. (multi npc add)
Open your client.VBP > Right click frmEditor_MapProperties
and click view object then in the box that appears right click the lstnpc's box
then click properties
Then in the properties box
Find multi select and set the drop down to 2.extended
now right click the lstnpc's box and click view code
Now press Ctrl and F and:
find
```
' make sure it's not a clear
If Not cmbNpc.List(cmbNpc.ListIndex) = "No NPC" Then
npcNum = CLng(Left$(tmpString(0), Len(tmpString(0)) - 1))
Map.Npc(lstNpcs.ListIndex + 1) = npcNum
Else
Map.Npc(lstNpcs.ListIndex + 1) = 0
End If
```if the search doesn't find it click the search project button in the bottom left of the find box
now replace that with:
```
' make sure it's not a clear
If Not cmbNpc.List(cmbNpc.ListIndex) = "No NPC" Then
npcNum = CLng(Left$(tmpString(0), Len(tmpString(0)) - 1))
Else
npcNum = 0
End If
For x = 1 To MAX_MAP_NPCS
If lstNpcs.Selected(x - 1) Then
Map.Npc(x) = npcNum
End If
Next
```
and you are good to go play :)
control keys drag to select with mouse
SHIFT to select many IE. select number one scroll down hold SHIFT and click the last number in the block you want
HOLD CTRL to select only the ones you click on
PS. There is no support offered for the code as this is not my call and i can't do myself
but it is fully tested with EO 2.0.0 :) =D -
Giant Title
in Q & A
soul i also added the multi select code and steps to a tut for all :) a very noob friendly one to hope you dont mind me doing this link is here:
http://www.touchofdeathforums.com/smf/index.php/topic,78692.new.html#new
(follow on here or other post i posted latest up on both so you could decide :P)
just a heads up on this i started with the altras quest system as it was the longest source to add and he had started with a fresh EO 2.0
i then changed max map npc's
added the multi select map npc source that you all worked on for me
and then when i try to add the mouse movement i either got errors or no mouse movement
i had tried this several time and put some things is different places like on mouse movement where is say add this to xxxx but doesn't say where in the past i usually put them at the top
when i found the problem i tried putting it under the quest editor things (like 4 subs down) in that mod code and still same thing
i really did have a good go at trail and error educated guesses and lots of unzipping fresh EO's before posting i hope i am doing something stuipd coz will be easy fix but i also hope im not coz would feel like im wasting ur time -
http://www.touchofdeathforums.com/smf/index.php/topic,78639.0.html
answer for extra gold drop is here :P
PS. did the above edits work for you ? -
Giant Title
in Q & A
> this whole topic is resolved. T_T
not quite true
i have a problem with adding two cirtain Tut's together
SEE HERE \/
http://www.touchofdeathforums.com/smf/index.php/topic,78675.0.html
huge thanks TO :
JUSTN
Soul
Jimmy93
Erwin
Kenny IM LEARNING SO MUCH AND I ENJOY TOO :) -
first open your client in vb6 and leave server running then hit the play button up the top
play as normal to recreate the event that brings the error up and then click debug in the vb box that pops up and post the highlighted text here i cant actually say what is up with the debug line but anyone willing to help will need this and i will do my bit to help them help you :) -
thanks for the tips an info will post back when i get round to them lol
i do not understand what this script is posted for or to do (you didn't say) \/
> If Int(Amount) < 10000 Then
> ConvertCurrency = Amount
> ElseIf Int(Amount) < 999999 Then
> ConvertCurrency = Int(Amount / 1000) & "k"
> ElseIf Int(Amount) < 999999999 Then
> ConvertCurrency = Int(Amount / 1000000) & "m"
> Else
> ConvertCurrency = Int(Amount / 1000000000) & "b"
> End If
the only currency problem i had was npc's not dropping enuf lol
now i know that the max drop once edited in is 37200 ish i will just add gold bars to drop for end game and give them a value of 10,000G meaning that max drop would be to the value of =372,000,000Gold
taking a guess at the script you posted i am guessing that it does a similar thing to the gold bar item if so i will have a play and see how it works :P
thanks so very much -
Try
open in paint a current wep and then without changing anything click to save as and see what the bmp type is in the drop down under file name
failing that make a 3 pics in to fit in with the number order and save as diffrent types of bmp then trial and error
if there is one thing i have learnt from two weeks of this engine editing is trial and error before posting
i could look and tell you but this is not how we learnt to use initiative :P :P :P -
i have had both
mouse movement 2.0 ( http://www.touchofdeathforums.com/smf/index.php/topic,75971.0.html )
and
altars quest system 1.1 ( http://www.touchofdeathforums.com/smf/index.php/topic,70502.0.html )
working but everytime i try to add both to a fresh EO 2.0 i get either errors or game running normally but with no mouse movement
so i ask can someone please try to add the both to a fresh EO v.2.0
and see if you get the same result i did
please !!!!
PS. now cant replicate the problem to post error results
in case it makes any odds my exact steps where
just a heads up on this i started with the altras quest system as it was the longest source to add and he had started with a fresh EO 2.0
i then changed max map npc's
added the multi select map npc source that you all worked on for me
and then when i try to add the mouse movement i either got errors or no mouse movement
i had tried this several time and put some things is different places like on mouse movement where is say add this to xxxx but doesn't say where in the past i usually put them at the top
when i found the problem i tried putting it under the quest editor things (like 4 subs down) in that mod code and still same thing
i really did have a good go at trail and error educated guesses and lots of unzipping fresh EO's before posting i hope i am doing something stuipd coz will be easy fix but i also hope im not coz would feel like im wasting ur time
code for multi map npc's sellection is here http://www.touchofdeathforums.com/smf/index.php/topic,78639.msg843957.html#msg843957 -
i will jump on that band wagon can only connect with 3-4 comps depending on time
im in the uk and prehaps if i dial up a vpn after loading first client i could load 2 per comp im sure this would work i will test and let you know
drop me a message on here
or on facebook only no accses to the actual e-mail addy
[email protected] (matthew howman) -
Giant Title
in Q & A
are you connecting through local host or an ip im on ip might be the diffrence
will test this soonish (brew first :P )
**EDIT it defo has nothing to do with me having it using ip lol -
Giant Title
in Q & A
for some reason after my first attempt at this it had stopped showing that it has selected the new mobs untill you click ok send all highlighted mobs are on map and when i go back to editor properties all mobs show in the npc list box as they should lol but its fine i can use it and it will save me uber time -
Giant Title
in Q & A
nice work you are a genius I love you lol :P -
Giant Title
in Q & A
ok trying again was about to post debug info lol :P -
Giant Title
in Q & A
> . Make sure that you set the MultiSelect property of the listbox to Extended if you haven't already.
CHECK this was done on simple before the code request :P
> Just needs a small change to fix his fix
im on it right now cheers for the support guys -
Giant Title
in Q & A
ok thanks a lot this did sort the error but it still only places the last map npc selected not the whole range
any ideas ive had a play ive deleted npc's and maps and still no joy
but love you all :) -
i have been thinking and i am wondering but tbh IDK if i am right but here's my thought
instead of using loc to actually follow a party member would it make the programming any easier if:
you have a range of one tile before follow can be done
so if more than a tile away the follow option is not given/allowed
this way it is a given that the player doing the following is only 1 tile away when the follow cmd starts
and then program the following player to copy the movements of the player being followed
so if x player moves up so does the following player
would this be an easier mod to make -
Giant Title
in Q & A
HELP PLEASE
i tried you addition for multi npc select
i get error
runtime 381
pointing at this line
If lstNpcs.Selected(x) Then
have i done something wrong or is it the code ? -
Giant Title
in Q & A
1\. brilliant (appoligies to jimmy93 for doubting ya lol)
Just note that you can't put it above 32767. < (this was my main query)
2\. MY bad failed to read it properly 24 year's old and still struggle at not missing lines when reading lol
(that's dyspraxia for ya)
it is actually in the tut list that was linked above how i failed to spot this i would love to know
(Ps. Google is my best friend it just didn't occur to me that it would show let alone be on the first page :P)
3\. out of my league lol (pall88) has some work to do when he gets home pmsl :P
but thanks makes much more sense now
4.very nice i am going to try these right now first off i will try NUM 4\. as this is the untested bit and easier to debug if needed with no added Tut's lol :P
EPIC THANKS TO : JUSTIN, JIMMY93, and even bigger thanks to SOUL for the work he did
(PS the statement said: it should be (easy)
i wouldn't of put a request in if i hadn't had 2 friends suggest it can be done and say it shouldn't be to hard
but your all very kind im hardly the most competent but as i say we all start somewhere
dam having a disabillity would love to be able to learn VB properly -
> Store the index of the person the player is following in TempPlayerRec. Then send an update whenever they've moved (or ask the server for an update/what prefer you). You could then do one of two things: one, use a combination of coordinates and direction to get where they were last tile), or two, add a basic pathfinding system so you can find the shortest path to their location.
which would be easiest to program ?
EO (1.3) Mouse Movement Tutorial
in Source
Posted
YOU done it again bro nice one
YOU LEGEND :P :) =D