karpaz Posted March 4, 2012 Author Share Posted March 4, 2012 Hello i have one question …:(1)How and what all i must edit to add more than 30 npc on the map ... Link to comment Share on other sites More sharing options...
Wing Posted March 4, 2012 Share Posted March 4, 2012 Why would you do that e-e. Link to comment Share on other sites More sharing options...
karpaz Posted March 4, 2012 Author Share Posted March 4, 2012 because i not like warping game .. i use big map 100x100 … Link to comment Share on other sites More sharing options...
Wing Posted March 4, 2012 Share Posted March 4, 2012 @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 More sharing options...
karpaz Posted March 4, 2012 Author Share Posted March 4, 2012 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.. Link to comment Share on other sites More sharing options...
Wing Posted March 4, 2012 Share Posted March 4, 2012 Its not that, its based on internet connection. If you have really good internet you can try, but you can expect other players to freeze. You would have to edit the limit using vb6\. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted March 4, 2012 Share Posted March 4, 2012 @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 More sharing options...
karpaz Posted March 4, 2012 Author Share Posted March 4, 2012 thx much at last :P Link to comment Share on other sites More sharing options...
madyotto Posted March 6, 2012 Share Posted March 6, 2012 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 helpPS. if it makes any odds im using the starspire eo version Link to comment Share on other sites More sharing options...
madyotto Posted March 6, 2012 Share Posted March 6, 2012 this is what i have any ideas why there is still 30 npc'splz help!!!!!********************************************************' * The values below must match with the server's values *' ********************************************************' General constantsPublic Const MAX_PLAYERS As Long = 70Public Const MAX_ITEMS As Long = 255Public Const MAX_NPCS As Long = 255Public Const MAX_ANIMATIONS As Long = 255Public Const MAX_INV As Long = 50Public Const MAX_MAP_ITEMS As Long = 255Public Const MAX_MAP_NPCS As Long = 100Public Const MAX_SHOPS As Long = 50Public Const MAX_PLAYER_SPELLS As Long = 50Public Const MAX_SPELLS As Long = 255Public Const MAX_TRADES As Long = 30Public Const MAX_RESOURCES As Long = 100Public Const MAX_LEVELS As Long = 100Public Const MAX_BANK As Long = 99Public Const MAX_HOTBAR As Long = 12Public Const MAX_PARTYS As Long = 35Public Const MAX_PARTY_MEMBERS As Long = 35Public Const MAX_QUEST As Long = 255' WebsitePublic Const GAME_WEBSITE As String = "http://www.touchofdeathforums.com"server' * The values below must match with the client's values *' ********************************************************' General constantsPublic Const MAX_PLAYERS As Long = 70Public Const MAX_ITEMS As Long = 255Public Const MAX_NPCS As Long = 255Public Const MAX_ANIMATIONS As Long = 255Public Const MAX_INV As Long = 50Public Const MAX_MAP_ITEMS As Long = 255Public Const MAX_MAP_NPCS As Long = 100Public Const MAX_SHOPS As Long = 50Public Const MAX_PLAYER_SPELLS As Long = 50Public Const MAX_SPELLS As Long = 255Public Const MAX_TRADES As Long = 30Public Const MAX_RESOURCES As Long = 100Public Const MAX_LEVELS As Long = 100Public Const MAX_BANK As Long = 99Public Const MAX_HOTBAR As Long = 12Public Const MAX_PARTYS As Long = 35Public Const MAX_PARTY_MEMBERS As Long = 35Public Const MAX_QUEST As Long = 255' server-side stuffPublic Const ITEM_SPAWN_TIME As Long = 30000 ' 30 secondsPublic Const ITEM_DESPAWN_TIME As Long = 90000 ' 1:30 secondsPublic Const MAX_DOTS As Long = 30 Link to comment Share on other sites More sharing options...
RyokuHasu Posted March 7, 2012 Share Posted March 7, 2012 ~~your not looking far enough down.try pressing Ctrl+F then enter the exact line you are looking for.~~Sorry missread…And I do not recommend you use lots of NPCs on a large map, that can cause a few problems with lag. Link to comment Share on other sites More sharing options...
Justn Posted March 7, 2012 Share Posted March 7, 2012 Did you compile it after making changes? Link to comment Share on other sites More sharing options...
madyotto Posted March 7, 2012 Share Posted March 7, 2012 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 :) =Dthanks for advise and will report back let you all know Link to comment Share on other sites More sharing options...
madyotto Posted March 7, 2012 Share Posted March 7, 2012 ok now i have tried again and these are the errors i get when i try to compile the clienterror during load refer to c:/*-*-*-**-*-*/frm.Main.logfrm.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 itafter maps etc load i get:Run-time error '9':Subscript out of rangeand closesI am a bit of a noob at this but we all have to start somewhere don't wethanks in advance for any reply's:) hoping its something silly im doing wrong lol :P Link to comment Share on other sites More sharing options...
madyotto Posted March 7, 2012 Share Posted March 7, 2012 all sorted now guys i wasnt deleting maps i must of forgot after first few fails lol Link to comment Share on other sites More sharing options...
karpaz Posted March 15, 2012 Author Share Posted March 15, 2012 hey ryoku .. ;) … is it big if i have map 100x100 and npc 100 ?... or what is good for use .. 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