Mellnik
Members- 
                
Posts
22 - 
                
Joined
 - 
                
Last visited
 
Everything posted by Mellnik
- 
	Did bartekdvd report this?
 - 
	Something like this function checkTransfer() if isTransferBoxActive() == false then -- put your downloadFile stuff here else setTimer(checkTransfer, 500, 1) end end addEventHandler("onClientResourceStart", getRootElement(), checkTransfer)
 - 
	Yeah it is. The mta server has in inbuild http server to stream files.. This message you encountered is probably a bug since I've experienced the same.
 - 
	Oh woah! I'll get my Ollydbg out even tho I would contribute without wanting a reward.
 - 
	Use this function introduced in v1.4. downloadFile Set download="false" for the skin files and as soon as the initial download is done use that function to download all skin files.
 - 
	Yeah should work as long as the file is the in resource and the file path matches.
 - 
	@vx89 The command doesn't work properly. But my largest files are .txd texture files. (They are already compressed) @Controlled That's an option, true. But I'm still curious what ccw meant in his post.
 - 
	@Bonsai Why's that? @Et-win What's the difference between downloadFile fromv1.4? And how would I compress and extract it? @Controlled Yeah, saw that but it does not reduce the file size but rather download it in the background which would cause lag doesn't it?
 - 
	Hi I love the way how you can add mods to your MTA server. The only problem I encounter is the total size of the mods. I don't want players to download more than 70-100MB so I am asking if there are any tricks to reduce the download size. I have looked around and found this post by ccw (http://bugs.mtasa.com/view.php?id=5015) How can I do that? Does he mean to zip the mods and upload the an http server or something like gzip on nginx? Another small question. Do you think 70-100MB is too much for an average player to download? Seeing most other servers don't have more than ~40MB. Thanks.
 - 
	As I am pretty new here I dont understand the mechanics yet. I am wondering what the steps are to perform a proper connect and spawn of a player. Is this way correct? 1. Player joins and downloads all resources. 2. Player registers. 3. Player spawns. The thing is, how do I spawn a player to remove the black screen at the beginning?
 - 
	
I can't login to the site.
Mellnik replied to Mellnik's topic in Site/Forum/Discord/Mantis/Wiki related
Alright, thanks. - 
	in the meta file: <script src="clientCommands.lua" type="client"/> my client command: function getSerial() local ser = getPlayerSerial() outputChatBox("Your serial is: "..tostring(ser)) end addCommandHandler("serial", getSerial, false) addCommandHandler("myserial", getSerial, false) I have tried everything but when I type /serial nothing happens.
 - 
	Because I wanted to link it with MySQL 5.5 rather than 5.1
 - 
	
I can't login to the site.
Mellnik replied to Mellnik's topic in Site/Forum/Discord/Mantis/Wiki related
Mellnik, the thing is that it does not accept my password and the email recorvery somehow doesnt work either. - 
	I used "find -name '*.so'" to search for it But only this one was found: mellnik@ubuntu:~/multitheftauto-modules-read-only/mta-mysql$ find -name '*.so' ./src/.libs/libmta_mysql.so While compiling I noticed this: ranlib .libs/libmta_mysql.a creating libmta_mysql.la (cd .libs && rm -f libmta_mysql.la && ln -s ../libmta_mysql.la libmta_mysql.la)
 - 
	Oh, I tried it on another machine with 32bit, no error appeared, but it looks like no .so has been output. I also searched for it: find -name 'mta_mysql.so'
 - 
	Doesn't work either. Yes also looking on google.
 - 
	The MySQL plugin gives me an error: /usr/bin/ld: /home/mta/multitheftauto-modules-read-only/mta-mysql/luaimports/libluaimports.a(luaimports.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /home/mta/multitheftauto-modules-read-only/mta-mysql/luaimports/libluaimports.a: could not read symbols: Bad value On Ubuntu 12 After running: ./configure make
 - 
	When I try to login here: https://community.multitheftauto.com/index.php?p=login It says invalid user id. I tried to reset my password but then it says "Invalud username/email" Even tried to create a new acc with my name but didn't work either.
 - 
	The the height of the HUD is somehow too big as you can see in the pic: http://i.imgur.com/M0eCPSR.jpg The money display too. Does anyone know how to fix this
 
