Looking for Lua programer


(BlackEight) #1

Hi
Am sorry if its disallowed or wronggly put but i am looking for Lua programer. Am constructing a server and i could do with some Lua scripts on nq. I tried to learn it myself but its not a easy cookie and am crap in programing anyway. If You could help me, please contact me on xfire pelleaon1 or PM me. Hope its not too direct wish…

Kind regards,
BlackEight


(stealth6) #2

maybe you could post what you already have and what you want and other people can fill in the gaps?


(BlackEight) #3

Pretty much nth. I went through the Lua “manual” and decided not to learn that. I want to run clan+server as managment university project without going too deep into computer programing. Ive managed to collect over-average ET cfg knownledge yet this Lua is sth which is over me…but i need several Lua scripts : /

Ive managed to obtain script for FIRST BLOOD. I still need killing spree script for egzample but dont even know how should i start it…


(valkyr) #4

KMod and KMod+ have killing sprees and first blood.


(BlackEight) #5

Ive got script for firs blood in cp:
firstblood = true

function et_Obituary( _victim, _killer, _mod )
if firstblood == true and _killer < 64 then
et.trap_SendConsoleCommand(-1 , “cp “”… et.gentity_get( _killer ,“pers.netname”) …” drew first blood!
“” )
et.G_globalSound( “/sound/spree/firstblood.wav” )
firstblood = false
end
end

Can i alter this script into !admintest? Or this script should be completly different for admintest? :

admintest = true

function et_Obituary( ? )
if admintest == true
et.trap_SendConsoleCommand(-1 , "chat "“admintest:… et.gentity_get(“pers.netname”) …” is now level ? user ( XXX Player)
“” )
admintest = false
end
end


(BlackEight) #6

Ive got a bit of a problem with installing Lua. Ive made it accordingly to this: http://shitstorm.orghttp://shitstorm.org

I exchanged the qagame.mp.i386.so, then uploaded the liblua5.1.so (ive got game server so i put this file into main dir where i have etadmin, noquarter_backup, nq, nq_backup and pb folders), made read permisson and i didnt start my server with “etded +set …” NOT “etded.x86 +set …” (game server provider told me that this step is not necessary with me). After restart i cant connect to server any more. It appears to be dead like…Can you tip me?


(BlackEight) #7

Problem solved. Server provider needed to make this changes himself.
Btw, Lua scripts work pretty much the same as etadmin scripts. That is, they work incorrectly. Ill try to install some other nq mod to see whether it can the matter of a confilci between 127 and etadmin.