Author Topic: Lagging on the server  (Read 10398 times)

0 Members and 1 Guest are viewing this topic.

Offline DemonSeed

  • Facts don't care about your feelings.
  • Administrator
  • A God
  • *****
  • Posts: 2285
  • Yay or Nay +4382/-4074
  • Don't try to force your PC dick down my throat.
    • View Profile
    • Speed is King
Lagging on the server
« on: March 12, 2012, 01:47:26 AM »
I have seen lots of complaints about people lagging on the server ever since shitty 1.3 came out. (It crashes everytime i disconnect or quit)

However try this Anti-Lagg pack,
http://www.fullysik.net/index.php?action=tpmod;dl=item7

Works wonders for me, and none of it modifies your game to get you banned, it's just visual downgrades.

Also i still use the old sapt which is here http://www.fullysik.net/index.php?action=tpmod;dl=item9 which removes motion blur and heat haze.

If you still lagg after this, i'll help you out even further.
Created by 1thwonder

Offline Sexmaniac

  • [SiK] Member
  • A God
  • ***
  • Posts: 2408
  • Yay or Nay +1024/-4
    • View Profile
    • SiK - Speed is king - MTA Racing community!
Re: Lagging on the server
« Reply #1 on: March 12, 2012, 02:38:44 PM »
It's not only lagging, the server (or only MTA on the server) goes down several times a day. Sometimes it's up again within a minute, sometimes 3 minutes or more.
I talk with Grim about this problem and told him to checkout some windows resources by login with remote desktop, or check some error loggings with the computer management option.

Offline DemonSeed

  • Facts don't care about your feelings.
  • Administrator
  • A God
  • *****
  • Posts: 2285
  • Yay or Nay +4382/-4074
  • Don't try to force your PC dick down my throat.
    • View Profile
    • Speed is King
Re: Lagging on the server
« Reply #2 on: March 12, 2012, 08:40:41 PM »
OK i'll look into this.
Created by 1thwonder

Offline asablic

  • Nub
  • **
  • Posts: 328
  • Yay or Nay +3/-0
    • View Profile
Re: Lagging on the server
« Reply #3 on: March 14, 2012, 03:40:30 PM »
I will try to find some other chat icon resource we can use since the old one is outdated, maybe it can help somehow.
Kchaticon has been last released in 2008 and is most likely incompatible, no wonder I get warning spams about it.

EDIT: You can try this resource, I hope it won't show any warning messages anymore (otherwise, feel free to put the old one back)
« Last Edit: March 14, 2012, 04:06:49 PM by asablic »

Offline DemonSeed

  • Facts don't care about your feelings.
  • Administrator
  • A God
  • *****
  • Posts: 2285
  • Yay or Nay +4382/-4074
  • Don't try to force your PC dick down my throat.
    • View Profile
    • Speed is King
Re: Lagging on the server
« Reply #4 on: March 15, 2012, 03:47:04 AM »
Uploaded, hopefully it works well.
Created by 1thwonder

Offline asablic

  • Nub
  • **
  • Posts: 328
  • Yay or Nay +3/-0
    • View Profile
Re: Lagging on the server
« Reply #5 on: March 15, 2012, 02:04:15 PM »
Still the same thing...
Not only the chat icon is causing problems, a lot of other resources seem to have outdated functions.


Btw, I don't have any lag problems.

Offline Demiveil

  • Administrator
  • Nub
  • *****
  • Posts: 257
  • Yay or Nay +7/-2
    • View Profile
    • Speed is King
Re: Lagging on the server
« Reply #6 on: March 15, 2012, 05:50:47 PM »
If someone would like to run debugging while they play and jot down any error messages they happen to encounter that would be potentially very handy.  ;)

Offline asablic

  • Nub
  • **
  • Posts: 328
  • Yay or Nay +3/-0
    • View Profile
Re: Lagging on the server
« Reply #7 on: March 15, 2012, 06:05:03 PM »
ERROR:[gameplay]\irc\scripts\loading.lua:81:bad argument #1 to 'find' (string expected, got boolean)
ERROR:race_playerstats\odometer.lua:126: addEventHandler: 'onClientRender' with this function is already handled


Going to post some more later.

Offline Grim_Reeper

  • Semi-Pro
  • ***
  • Posts: 583
  • Yay or Nay +65535/-22
    • View Profile
Re: Lagging on the server
« Reply #8 on: March 16, 2012, 12:50:01 PM »
ERROR: exports: Call to non-running server resource (race_playerstats) [string "?"]
This one repeats 8 times

ERROR: [gameplay]race_starter_packserver.lua:447: attempt to index field "?" (A nil value)
ERROR: [gameplay]race_starter_packserver.lua:460: attempt to index field "?" (A nil value)
ERROR:unzippedace_splittimesankings_server.lua:61: attempt to compare number with string
ERROR:unzippedace_splittimesankings_server.lua:61: attempt to compare string with number

Are we doing warnings too? If so...

WARNING: edf/scriptreader.lua:88:Bad argument @ 'getelementdata' [Expected element at argument 1, got boolean]
WARNING: [gameplay]race_starter_packserver.lua:343: Bad argument @ 'setTimer' [Expected function at argument 1, got nil]
WARNING: ssabclientside.lua:24: Bad argument @ 'xmlUnloadFile'
WARNING: chaticonfchaticonD              couldn't finish this one when it was going off, it spammed like 200 lines in a second though
WARNING: racefancyprogress.lua:57: Bad argument @ 'guiSetVisible' [Expected gui element at argument 1, got nil]
WARNING: racefancyprogress.lua:52: Bad argument @ 'guiSetVisible' [Expected gui element at argument 1, got nil]
WARNING: [gameplay]sik_colorcolor_server.lua:42: Bad argument @ 'killtimer' [Expected lua timer at argument 1, got nil]


Post Merge: March 16, 2012, 12:50:20 PM
ERROR: [gameplay]\maprating\map_rating_s.lua:26: attempt to concatenate field 'MapName' (a boolean value)
ERROR: Client triggered serverside event onBulkUpdateStats, but event is not added serverside
ERROR: race_playerstats\database.lua:57: Database query failed: SQL logic error or missing database
ERROR: [gameplay]\race_starter_pack\server.lua:1146: attempt to perform arithmetic on a nil value

WARNING: [gameplay]\maprating\map_rating_s.lua:24: Bad argument @ 'getResourceName'

Some more...

-------------------------------------------------------

Offline DemonSeed

  • Facts don't care about your feelings.
  • Administrator
  • A God
  • *****
  • Posts: 2285
  • Yay or Nay +4382/-4074
  • Don't try to force your PC dick down my throat.
    • View Profile
    • Speed is King
Re: Lagging on the server
« Reply #9 on: March 22, 2012, 10:05:00 PM »
Is there still a lot of lagg present?

I tried a fix, hopefully it helps.
Created by 1thwonder

Offline Demiveil

  • Administrator
  • Nub
  • *****
  • Posts: 257
  • Yay or Nay +7/-2
    • View Profile
    • Speed is King
Re: Lagging on the server
« Reply #10 on: March 22, 2012, 10:21:28 PM »
What was this fix out of interest?

Offline DemonSeed

  • Facts don't care about your feelings.
  • Administrator
  • A God
  • *****
  • Posts: 2285
  • Yay or Nay +4382/-4074
  • Don't try to force your PC dick down my throat.
    • View Profile
    • Speed is King
Re: Lagging on the server
« Reply #11 on: March 22, 2012, 10:22:42 PM »
Setting the affinity to 1 core, suggested by samt.
Created by 1thwonder

Offline Grim_Reeper

  • Semi-Pro
  • ***
  • Posts: 583
  • Yay or Nay +65535/-22
    • View Profile
Re: Lagging on the server
« Reply #12 on: March 23, 2012, 03:22:54 AM »
I can definitely see some sort of lagg improvement as there is no more skipping of frames when I play in the server like i was getting.

Not so sure about the dropouts though.

-------------------------------------------------------

Offline Clark_Kent

  • Nooblit
  • *
  • Posts: 126
  • Yay or Nay +5/-0
    • View Profile
Re: Lagging on the server
« Reply #13 on: March 31, 2012, 03:19:11 PM »
Ive heard that my webradio script made some lag on the server, And while it shouldnt :P because its almost completly clientside except loading stations @ startup. And that it lagged the server even when it was off :P haha wtf, I've might have a solution to try, Ive used addEventHandler( "onSettingChange".... which might be called to often, so I deleted that line. And changed the Default_on to false, so that music is off as default. Other than that I have no clue what it can be.

Offline DemonSeed

  • Facts don't care about your feelings.
  • Administrator
  • A God
  • *****
  • Posts: 2285
  • Yay or Nay +4382/-4074
  • Don't try to force your PC dick down my throat.
    • View Profile
    • Speed is King
Re: Lagging on the server
« Reply #14 on: March 31, 2012, 03:24:46 PM »
Uploaded
Created by 1thwonder