madyotto Posted March 7, 2012 Author Share Posted March 7, 2012 ok so ive had my fun playing round getting to know the engine etctaught myself how to implement simple mods and finally compile with vb6 :)IF it makes any odds im using the custom starlight versionthis one here =http://www.touchofdeathforums.com/smf/index.php/topic,71847.0.html1\. and so far have edited the max npc's per map to 100now i plan on having the game as a more AOE basses game hence the need for all the extra mobs2\. now i need to change the max limits on levels (should be easy same as max npcs)3\. im also looking to add the mouse movement i found here : http://www.touchofdeathforums.com/smf/index.php/topic,75971.0.htmldoes the above cause any probs i may not have thought about not including the possible lag from 80x80 maps and at times 100 npc's per mapi have seen and now fail to find a few posts i came across over the last few weeks if someone can use the search function better than me to help me find them as the main prob i have is not knowing the correct terminology for some of the posts i needposts i have seen that i want to add to my project that i cant find:4\. ranged projectiles5\. lightning boss frame work6\. some kind of spell editor with extra options (i read the post but not the title :( )can't find / not seen7\. how to set an aggro range for npc's so curtain classes have more/less aggro distance8\. how to change the max stats per skill from 255 to say 5559\. how to change the max item drop amount (mainly for gold not mega important as i devised a way round it by making a gold bar item and all shop npc's buy back for 1000G 255X gold bars =255,000 gold)will need millions in the end but can make mega gold bar = 100,000G)10\. does any one know the max gold limit a char can hold in invent ?if it sounds that any bit may be abit technical for me i have a friend /project partner (pal88) for the scripting i cant do if any requiered that isthanks in advance for all reply'sPS. i don't want it done for me im trying my best and learning fast Link to comment Share on other sites More sharing options...
madyotto Posted March 8, 2012 Author Share Posted March 8, 2012 also how possible/complex would it be to script in an auto follow system for party'sIE. im in a party and i want another player to just stick by me automatically let says a tile or two behindmy project partner is quite good with vb and if i had a few tip of places the bits of code need to be scripted in and how to read the other players LOC im sure we would be able to manage the restDAM HIM BEING ON NIGHT'S HOW VERY INCONSIDERATE LOL.:Pand thanks :Pwill also start a new thread so we can easily share the code when we are done Link to comment Share on other sites More sharing options...
kenny92316 Posted March 10, 2012 Share Posted March 10, 2012 2\. Public Const MAX_LEVELS As Long = 10010\. I suspect it's 2.147B as with the long's limit, and in the code it says:Public Const MAX_BYTE As Byte = 255Public Const MAX_INTEGER As Integer = 32767Public Const MAX_LONG As Long = 2147483647```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```8\. I suspect stats are saved as bytes which is a 255 cap, change their dim xxx as byte to interger if you can find it. Link to comment Share on other sites More sharing options...
kenny92316 Posted March 10, 2012 Share Posted March 10, 2012 found it. Stat(1 To Stats.Stat_Count - 1) As Bytechange byte to interger, which increases its max to the above number for interger in my above post. Link to comment Share on other sites More sharing options...
madyotto Posted March 10, 2012 Author Share Posted March 10, 2012 thanks for the tips an info will post back when i get round to them loli 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 Ifthe only currency problem i had was npc's not dropping enuf lolnow 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,000Goldtaking 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 :Pthanks so very much Link to comment Share on other sites More sharing options...
Lee Evermore Posted April 6, 2012 Share Posted April 6, 2012 Yes, this coding looks like fun and pretty easy, but I have no idea where to put it… :PThank you in advance. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now