Help error when using multiple NPC monsters and drop items

Play Now

MODERAT

Dedicated Member
Dedicated Member
Feb 21, 2014
166
32
55
1 when turning off the drop indicator
2 when turning off the NPC name
3 when turning off the names of monsters
in these 3 cases the game does not slow down! when these options are turned on, it starts to lag and fps drop, advice on fixing errors is needed!
 

Jev

Mir 4 Incoming!
VIP
May 16, 2017
5,026
34
3,237
330
Worthing, West Sussex
I don't understand the issue?

You're using the same NPC script on multiple npcs? and same for monster's drops? I'm really unsure what you mean.
 
Upvote 0

MODERAT

Dedicated Member
Dedicated Member
Feb 21, 2014
166
32
55
public virtual void DrawName()

I looked for a problem in this code but I didn't find why the game lags if there is a lot of drop or a lot of monsters everything depends on their names
Post automatically merged:

the case is hidden in their names if they are shown then there are lags if if they are hidden then there are no lags
 
Last edited:
Upvote 0

Jev

Mir 4 Incoming!
VIP
May 16, 2017
5,026
34
3,237
330
Worthing, West Sussex
public virtual void DrawName()

I looked for a problem in this code but I didn't find why the game lags if there is a lot of drop or a lot of monsters everything depends on their names
Post automatically merged:

the case is hidden in their names if they are shown then there are lags if if they are hidden then there are no lags
The source you're using is still Net Framework & Direct X. Maybe the Draw code is causing the lag
 
Upvote 0

Jev

Mir 4 Incoming!
VIP
May 16, 2017
5,026
34
3,237
330
Worthing, West Sussex
He using iceman source… so many bugs
That's the point I was trying to make without sounding like a broken record.

Nothing I have ever said will convice him to move over to the main crystal source, turns out even broken code leading to bad lag isn't either.
 
Upvote 0

MODERAT

Dedicated Member
Dedicated Member
Feb 21, 2014
166
32
55
yes you are right guys but I fix this server as best I can because I like this server in my heart :love:
and which https://github.com/ I don't really like it, so I want to work on this server
 
Upvote 0

MODERAT

Dedicated Member
Dedicated Member
Feb 21, 2014
166
32
55
Net Framework и Direct X what is the role and client of these files who can tell
 
Upvote 0

Jev

Mir 4 Incoming!
VIP
May 16, 2017
5,026
34
3,237
330
Worthing, West Sussex
Can you tell me how to connect them, my client:rolleyes:
Replace the Direct X depenacny with SlimDX, adjust all your using: DirectX with using: SlimDX and then fix any code errors.

This PR which was crystal moving from DirectX to SlimDX may help - Converted Client to use SlimDX

For NetFramework to NetCore follow this guide - https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview

This is the PR for that also to help if you run into any errors - .NET7 (ignore the deleted files)
 
Upvote 0