Jump to content

freudo

Members
  • Content Count

    151
  • Joined

  • Last visited

Community Reputation

3 Neutral

1 Follower

About freudo

  • Rank
    Busta
  • Birthday 18/02/1975

Details

  • Occupation
    Multigamemode mtasa://84.54.13.12:22003
  • Interests
    Multigamemode mtasa://84.54.13.12:22003

Recent Profile Visitors

1,498 profile views
  1. currentTime = 1604249518 dataTime = 1604249510 timeleft = 60-(currentTime-dataTime) hours = math.floor((timeleft/60)/24) minutes = (60-math.floor(timeleft/60)) print("Time left : "..tostring(hours)..":"..minutes..":"..timeleft) output : Time left : 0:60:8 Thanks guys, I solved This works. currentTime = 1604230289602 dataTime = 1603230289602 print(currentTime - dataTime) timeleft = math.floor((currentTime-dataTime)/1000) minutes = math.floor(timeleft/60) hours = math.floor(minutes/60) days = math.floor(hours/24) minutes = minutes%60 hours = hours%24 print("Time left : "..to
  2. I'm trying to count down from 24 to 1.
  3. local currentTime = getRealTime() local second = 59 -- example data local timeleft = 60-(currentTime.second-second) outputChatBox("Time left : "..math.floor((timeleft/60)/24)..":"..(60-math.floor(timeleft/60))..":"..timeleft) output : 0:60:70 must be : 23:59:59 cannot be calculated correctly. I think the linux server is also a problem. I couldn't solve the problem so i need help. Thanks.
  4. Arkadaşlar, [T1] takımı olarak sunucu açmış bulunmaktayız. Tüm herkesi kaliteli ve modern sunucumuzda oynamaya davet ediyoruz. Sunucu; -Sunucu multigamemode özelliğindedir. 3 adet arena bulunmakta; -DD,FDD ve GARAJ -Özellikler; -F1 lobby -F5 harita kazanma -F7 kullanıcı paneli -F9 radar kapama/açma -Günlük ziyaretlerle paranızı katlarsınız.(1.gün 2.5k, 2.gün 5k. 3.gün 7.5 ....) -/spin - oynanan miktarı katlar. -/zar - oynanan numaraya göre paranızı katlarsınız -/bilet - saatte bir açılan piyango -Avatar sistemi (kullanıcı paneli
  5. If you want, I can setup this.(It has a certain fee.) - Database and Linux configuration.(for map download.) - Website include (Login with forum account.) - Avatar system in game. Just contact me.
  6. thanks, problem is solved.
  7. User password and posting password not matching. $username = $input[0]['username']; -- fetcRemote username input ingame $password = $input[0]['password']; -- fetcRemote password input ingame $salt = $member->members_pass_salt; -- getting member pass salt $hash = crypt($password, '$2y$10$' . $salt); if (\IPS\Login::compareHashes($member->members_pass_hash, $hash) === TRUE) { echo "correct"; } else { echo "incorrect"; } result example: - input password = QWEjashjfahsjahsfhjblabalbala - hash password = KAJSFKJAQQWEbalalbal note: not shared completed code
  8. web resource browser How can I prevent everyone from connecting? does not ask for username and password.
  9. 'dbConnect' [SSL connection error: unknown error number] Server: Debian Linux local host = "127.0.0.1" local username = "root" local password = "" local db = "any" con = dbConnect("mysql", "dbname=" .. db .. ";host=" .. host, username, password, "share=1") if con then outputDebugString("connected") else outputDebugString("connected fail") end
  10. freudo

    Help for json

    result is "no data" I can't find any errors. I did not share all the codes. It works well. login.dataJson = "[{ \"money\": 0, \"point\": 0, \"wins\" }]" if ( type ( result ) == "table" and #result > 0 or not result ) then for i,v in ipairs( result ) do if v.username == tostring(username) then outputChatBox("account name = "..tostring(v.username)) local json = v.data or {} if json == false or json == nil then outputChatBox("no json") return false end local data = fromJSON(json) if data == nil then outp
  11. we will making a multilanguage system.
  12. Server ismi : MTA-TR Multigamemode DD/DM/RACE/SHOOTER/FREEROAM Sunucu IP : 84.54.13.12:22003 Yetkililer: virtue (Ortak aranıyor) Ek özellik: Ayriyetten sunucuya rekabetçi sistemi kodlanmaktadır. 1V1,2V2,3V3 vs'ler atılabilecektir. Her oyuncu için rekabetçi puanları hesaplanıp lig sıralaması yapılacak. Sunucu Fotoğrafları : Login Lobby : Radar,Toptimes,Arayüz: Scoreboard: Userpanel resimleri;
×
×
  • Create New...