Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Reading Online files
#1
Hi guys, im sorry for my last question, i have another question about plugin, it is possible to read a txt file like this http://alterinutile.altervista.org/messages.txt and print the message in game? I have tryed all the night but always when i connected to the server it crashed D:
My Reputation is low, help me with +1 rep if i helped you! Big Grin
Reply

#2
Make sure you don't fetch the data in a synchronous gamethread, this will make everyone lag and maybe crash the game.
Reply

#3
I do this in my speed plugin. Check out the speed plugin source.
[Image: MaEIQ.png]
Reply

#4
Thank you guys but i dont know how to do it, you can close the topic Sad
My Reputation is low, help me with +1 rep if i helped you! Big Grin
Reply

#5
Thank you, but i found what you wrote before opening this post.
This is taken from @Pozzuh plugin:

Code:
unsafe public override void OnServerLoad()
{
         if (!getOffsets())
                  return;
}

I cant use OnServerLoad(), you know why, and i dont know any other way to do it.
Anyway thank you guys for your help!
My Reputation is low, help me with +1 rep if i helped you! Big Grin
Reply

#6
Why can't you use OnServerLoad ?
[Image: MaEIQ.png]
Reply

#7
Because in not using addon.dll Smile
My Reputation is low, help me with +1 rep if i helped you! Big Grin
Reply

#8
There is something else, I think it's called Base.
[Image: azuw.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help mod not reading .iwd files? hmann 4 4,512 10-13-2013, 20:14
Last Post: hmann
  GETTING SERVER ONLINE raym 6 5,692 09-28-2013, 22:42
Last Post: Nekochan
  i need help with the sabs files duckywson 2 3,325 08-31-2013, 19:46
Last Post: duckywson
  .FF Files tugay12 1 4,356 08-14-2013, 17:11
Last Post: DidUknowiPwn
Question Help Upgrade my point system from files to Database, help? EnVi Sweden Rocks 11 9,379 08-03-2013, 23:31
Last Post: EnVi Sweden Rocks
  Help GSC Reading Files?! Howl3r 11 8,328 07-30-2013, 04:00
Last Post: DidUknowiPwn
Music [Release] [C#] [LIBRARY] SABSFile library (open sound files) JariZ 31 19,856 07-07-2013, 17:20
Last Post: Red-EyeX32
  [News] Online PS4 games will require playstation plus kokole 6 4,124 06-12-2013, 20:58
Last Post: AZUMIKKEL
  Help Game Not Reading Mod? Killjoy 6 5,410 06-08-2013, 14:49
Last Post: Killjoy
  [News] Call of Duty: Online Stream DidUknowiPwn 10 7,909 05-26-2013, 11:54
Last Post: Yamato

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.