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

100 npc on one map ? how do it ?


karpaz
 Share

Recommended Posts

@karpaz:

> because i not like warping game .. i use big map 100x100 …

100x100 will take a long time to load for your players to get from map to map. If you want big maps go for 60x60 or around that.
Link to comment
Share on other sites

@karpaz:

> its 21 century :P computers are better … and my friend with win xp 32bit (i use win7 64bit) friend havent any problem ;) can you answer me or no..

Change the 30 to whatever (client-side and server-side):
```
Public Const MAX_MAP_NPCS As Long = 30

```
Then you might have to delete your maps (check if you get an error when logging in).
Link to comment
Share on other sites

can someone help me plz i have changed both server and client as posted above and there is still only 30 npc options in the map editor properties page  what logs and txt's can i post to help

PS. if it makes any odds im using the starspire eo version
Link to comment
Share on other sites

this is what i have any ideas why there is still 30 npc's
plz help!!!!!

********************************************************
' * The values below must match with the server's values *
' ********************************************************

' General constants
Public Const MAX_PLAYERS As Long = 70
Public Const MAX_ITEMS As Long = 255
Public Const MAX_NPCS As Long = 255
Public Const MAX_ANIMATIONS As Long = 255
Public Const MAX_INV As Long = 50
Public Const MAX_MAP_ITEMS As Long = 255
Public Const MAX_MAP_NPCS As Long = 100
Public Const MAX_SHOPS As Long = 50
Public Const MAX_PLAYER_SPELLS As Long = 50
Public Const MAX_SPELLS As Long = 255
Public Const MAX_TRADES As Long = 30
Public Const MAX_RESOURCES As Long = 100
Public Const MAX_LEVELS As Long = 100
Public Const MAX_BANK As Long = 99
Public Const MAX_HOTBAR As Long = 12
Public Const MAX_PARTYS As Long = 35
Public Const MAX_PARTY_MEMBERS As Long = 35
Public Const MAX_QUEST As Long = 255

' Website
Public Const GAME_WEBSITE As String = "http://www.touchofdeathforums.com"

server

' * The values below must match with the client's values *
' ********************************************************
' General constants
Public Const MAX_PLAYERS As Long = 70
Public Const MAX_ITEMS As Long = 255
Public Const MAX_NPCS As Long = 255
Public Const MAX_ANIMATIONS As Long = 255
Public Const MAX_INV As Long = 50
Public Const MAX_MAP_ITEMS As Long = 255
Public Const MAX_MAP_NPCS As Long = 100
Public Const MAX_SHOPS As Long = 50
Public Const MAX_PLAYER_SPELLS As Long = 50
Public Const MAX_SPELLS As Long = 255
Public Const MAX_TRADES As Long = 30
Public Const MAX_RESOURCES As Long = 100
Public Const MAX_LEVELS As Long = 100
Public Const MAX_BANK As Long = 99
Public Const MAX_HOTBAR As Long = 12
Public Const MAX_PARTYS As Long = 35
Public Const MAX_PARTY_MEMBERS As Long = 35
Public Const MAX_QUEST As Long = 255

' server-side stuff
Public Const ITEM_SPAWN_TIME As Long = 30000 ' 30 seconds
Public Const ITEM_DESPAWN_TIME As Long = 90000 ' 1:30 seconds
Public Const MAX_DOTS As Long = 30
Link to comment
Share on other sites

yes but i have just realised that it is throwing an error up when complieing so will search net with errors in the morn and if not i will post and ask here ;)

too late now BED for me :) =D

thanks for advise and will report back let you all know
Link to comment
Share on other sites

ok now i have tried again and these are the errors i get when i try to compile the client

error during load refer to c:/*-*-*-**-*-*/frm.Main.log

frm.Main.log:  \/.

Line 21: Property Icon in frmMain had an invalid file reference.
Line 1344: Property TextRTF in txtChat had an invalid value.
Line 21: Property Icon in frmMain had an invalid file reference.
Line 1344: Property TextRTF in txtChat had an invalid value.

and i also get this error when i try to load the server but no error when i compile it

after maps etc load i get:

Run-time error '9':
Subscript out of range

and closes

I am a bit of a noob at this but we all have to start somewhere don't we

thanks in advance for any reply's
:) hoping its something silly im doing wrong lol :P
Link to comment
Share on other sites

  • 2 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...