Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Scott

Members
  • Posts

    428
  • Joined

  • Last visited

    Never

Everything posted by Scott

  1. How do you search you ask? Well it's very straight forward you see, go to the main page, type what you want to search for in the box at the top with the words "Search…" in it. Hit enter and look for what you need, all very easy really.
  2. Scott

    Mirage Realms 3.0?

    If you can make your own that's usually the best option.
  3. It's been explained in many many topics, search.
  4. Scott

    No target

    1.Make sure the new size(Height and width) is divisible by your tile size with no return. 2.Edit in modConstants MaxMapX and MaxMapY, remember it counts 0 so if you want 10 x 10 tiles x=9 y=9
  5. Only posted in this old topic because some one linked to it and I didn't like the way the only solution was made. (Easy Way) In modDatabase find the addChar sub replace ``` Player(index).Map = START_MAP Player(index).x = START_X Player(index).y = START_Y ``` with ``` Select Case Player(index).Class Case 1 Player(index).Map = 1 Player(index).x = 2 Player(index).y = 3 Case 2 Player(index).Map = 4 Player(index).x = 3 Player(index).y = 2 End Select ``` **–--------Separate Example--------------------** (Harder Way) Your orignal way is a bad way of doing it, if you still want it to save/load like his do it this way //This section is from Rithy56 and slightly edited, credits to him. In modTypes, Private Type ClassRec, Under ``` startSpellCount As Long StartSpell() As Long ``` Add ``` StartMap As Long StartMapX As Long StartMapY As Long ``` In modDatabase, Sub LoadClasses(), Under ``` ' continue Class(i).Stat(Stats.Strength) = Val(GetVar(filename, "CLASS" & i, "Strength")) Class(i).Stat(Stats.Endurance) = Val(GetVar(filename, "CLASS" & i, "Endurance")) Class(i).Stat(Stats.Intelligence) = Val(GetVar(filename, "CLASS" & i, "Intelligence")) Class(i).Stat(Stats.Agility) = Val(GetVar(filename, "CLASS" & i, "Agility")) Class(i).Stat(Stats.Willpower) = Val(GetVar(filename, "CLASS" & i, "Willpower")) ``` Add ``` Class(i).StartMap = Val(GetVar(filename, "CLASS" & i, "StartMap")) Class(i).StartMapX = Val(GetVar(filename, "CLASS" & i, "StartMapX")) Class(i).StartMapY = Val(GetVar(filename, "CLASS" & i, "StartMapY")) ``` In modDatabase, Sub SaveClasses() find ``` Call PutVar(filename, "CLASS" & i, "Willpower", STR(Class(i).Stat(Stats.Willpower))) ``` Under Add ``` Call PutVar(filename, "CLASS" & i, "StartMap", STR(Class(i).StartMap)) Call PutVar(filename, "CLASS" & i, "StartMapX", STR(Class(i).StartMapX)) Call PutVar(filename, "CLASS" & i, "StartMapY", STR(Class(i).StartMapY)) ``` In modDatabase, Sub AddChar, Replace ``` Player(index).Map = START_MAP Player(index).x = START_X Player(index).y = START_Y ``` With ``` Player(index).Map = Class(Player(index).Class).StartMap Player(index).x = Class(Player(index).Class).StartMapX Player(index).y = Class(Player(index).Class).StartMapY ``` In modPlayer, Sub OnDeath(index), Find ``` Call PlayerWarp(Index, START_MAP, START_X, START_Y) ``` Replace with ``` Call PlayerWarp(Index, Class(Player(index).Class).StartMap, Class(Player(index).Class).StartMapX, Class(Player(index).Class).StartMapY) ``` @Rithy56 Just some minor edits your old way was using 1 public variable to handle every ones spawn location.
  6. Np my fault really, I will add that to the first post, if you put 1 in it is a 100% drop and anything over 1 is also 100%.
  7. Use .25 for 25% thats how the orignal script was made to work its not a 1 out of 4 chance like it was before. All I can say is when I tested I made 4 items 10%,25%,50%,100% and there drop rate was the same as there name and it seemed to work fine to me.
  8. I have not really tested this tutorial to hard I just ripped it from my game since people where posting about it. If there is something wrong it must be something simple I left out because mine works fine and I have not edited it since I made this tutorial.
  9. Read my last post I posted more. It was an example I don't need to dim it lol
  10. So your trying to save a players name to that array? ``` var = FindNextOPenGuildSpot(Guild_id) if var > 0 then Guild(i).GuildMember(var) = player(index).Name else 'Guild full end if ``` If your trying to find whats the next open slot make a function for it ``` Function FindNextOpenGuildSpot(Guild_id as long) as int dim i as int for i = 1 to MAX_GUILD_MEMBERS if Guild(Guild_id).GuildMember(i) > 0 then FindNextOPenGuildSpot = i next i End Function ```(This code will prob not work just an example)
  11. ``` Guild(i).GuildMember(var) ``` You need to tell it what member in that guild you want to select.
  12. You messed something up can't really solve your problem like this.
  13. @Whackeddie99: > Is this possible? I mean, the method you showed me how to do works, but I cannot see NPCS, My character, or anything other than map tiles on the map because its just a screenshot. I want to see the whole map, in this little window, showing your players location, NPC's, and doors/switches/other scripted tiles and such. > > Is this possible? Your going to need to render those over the map, make sure you make some sort of scale like 1 tile for 4 pixels on the minimap and then comes the part where you need to do your own source edits to render what ever represents your players on the minimap picbox.
  14. @Night~: > ~~I can't damage npcs >. Nvm > > Uhmm posted above ^ you should use a new npc delete the existing npcs. Ah yes sorry forgot to add that to the tutorial, added now thanks for the heads up!
  15. Scott

    [EO]Building System?

    I think there is an outdated player map editor tutorial some where, other than that your on your own.
  16. Though you where talking about a different engine, disregard this.
  17. Scott

    Spawn Points

    1st off you can't re-assign a constant. IE. Remove the Const from it, but that's beyond the point wrong way of going about this. 2nd I would put this in the character creation sub In modDatabase find the addChar sub replace ``` Player(index).Map = START_MAP Player(index).x = START_X Player(index).y = START_Y ``` with something like ``` Select Case Player(index).Class Case 1 Player(index).Map = 1 Player(index).x = 2 Player(index).y = 3 Case 2 Player(index).Map = 4 Player(index).x = 3 Player(index).y = 2 End Select ```
  18. Scott

    PetMapChace ERROR

    Subscript out of range means you are assigning a number to something out of the set range of that variable. By the look of your error there is 2 places I would start looking PetMapCache(Player(index).Map) is player(index).map greater than the PetMapCache Max? and Player(index).Map is the index withing 1-max players
  19. Scott

    Scripting

    You can do anything you want with the scripted tile, you could program new tiles attributes with it easy.
  20. Choose "No Npc" from the dropdown, it will be the very first option scroll up.
  21. @Vus: > thank you very much :) > now, i sucesfully compiled it and it seems to work ~~, but i cant attack NPC's, not even with spells.~~ > > Edit: Fixed. > > Edit2: Drops wont save for me, i set it up, click save, but when i kill the npc it drops nothing and when i go to npc editor, settings for drops are blank :( Pm me your source before you put this tutorial in I'll add it for you, other than that pretty hard to fix a problem with out seeing the code.
  22. @Vus: > thanks, so i solved this one and it says .DropItemValue = cant assign array :( ``` .DropItemValue(DropIndex) ```
  23. @Bcm27: > The seamless map feature sounds pretty cool. Would you be willing to share those codes once you get them? OR possible sell them to us? I don't plan on selling/releasing anything at this time. @Domino_: > Can't you just look in Source Tutorials and do some of them by yourself? And theese what aren't in tutorials try to do alone, if need help ask in forum… Why to spend money about that what you can learn, maybe you wount be pro but you will know how this all works in vb6.... Let's keep this on topic, don't post unless you are inquiring about the work.
  24. Eclipse Multi-purpose Autoupdater Topic:[http://www.touchofdeathforums.com/smf/index.php/topic,58493.0.html](http://www.touchofdeathforums.com/smf/index.php/topic,58493.0.html) Source Download:[http://www.robin.freemmorpgmaker.com/autoupdater.zip](http://www.robin.freemmorpgmaker.com/autoupdater.zip) Was in the official download section…
×
×
  • Create New...