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

New project need help and need pointers plz :)


madyotto
 Share

Recommended Posts

ok so ive had my fun playing round getting to know the engine etc

taught myself how to implement simple mods and finally compile with vb6 :)

IF it makes any odds im using the custom starlight version
this one here =http://www.touchofdeathforums.com/smf/index.php/topic,71847.0.html

1\. and so far have edited the max npc's per map to 100

now i plan on having the game as a more AOE basses game hence the need for all the extra mobs

2\. 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.html

does 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 map

i 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 need

posts i have seen that i want to add to my project that i cant find:

4\. ranged projectiles
5\. lightning boss frame work
6\. some kind of spell editor with extra options (i read the post but not the title :( )

can't find / not seen

7\. how to set an aggro range for npc's so curtain classes have more/less aggro distance
8\. how to change the max stats per skill from 255 to say 555
9\. 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 is

thanks in advance for all reply's
PS. i don't want it done for me im trying my best and learning fast
Link to comment
Share on other sites

also how possible/complex would it be to script in an auto follow system for party's

IE. im in a party and i want another player to just stick by me automatically let says a tile or two behind

my 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 rest

DAM HIM BEING ON NIGHT'S HOW VERY INCONSIDERATE LOL.
:P

and thanks :P
will also start a new thread so we can easily share the code when we are done
Link to comment
Share on other sites

2\. Public Const MAX_LEVELS As Long = 100
10\. I suspect it's 2.147B as with the long's limit, and in the code it says:
Public Const MAX_BYTE As Byte = 255
Public Const MAX_INTEGER As Integer = 32767
Public 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

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
Link to comment
Share on other sites

  • 4 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...