[GameMode] Everlast Gaming Script [by TheShadow]
#1

Hey, My name is Amir and I used to be the lead scripter of Everlast Gaming.
I scripted this script from scratch, everything in this script is my code, expect of maybe some functions.
This script was last modified by me at 2011 and today I decided to release my script.

As some of you may know, this script was stolen from me, when I left evevlast gaming.
Before I left, I accidently uploaded an old version of my script to the FTP and it was stolen by one of the everlast gaming admins and this script was given to lots of people. Everlast gaming kept using my script without my permission for long time after I left, and they gave my script to bunch of people to keep updating it.

After searching, I've found that couple of people posses my script, and even paid money for it, and I would like to put an end for it. I was lucky that I kept some of my functions in my includes, like IsNum, and sql functions (which are pretty stupid, IsNum is like IsNumIC with little change ,and the sql functions are dini look a like sql functions) but it made my script harder to run.

I've put lot of efford in this script and I hope you all enjoy it.

Note: This script is kinda old, the last version I've complied it with was samp 0.3rc2 , so you might want to complie it again with the new samp, also I didnt add any new features , so you perhaps would like to add some new features

Some features that are scripted already:
*Dynamic faction system: You can create a faction ig, with the possiblity of 20 ranks per faction
*Dynamic admin system: it is not lvl based, there are groups of admins, like admin that deals with factions, admins that deals with properties etc.
*Dynamic interior system, you can add biz, house and interior ig
*5 jobs: Fishman, Mechanic, Trash job, Detective and Drug dealer
*Anti money cheat
*Dynamic car system
*Anti ooc ic script, not very suficticated
*and many more ( I do not remember :X feel free to ask me how to run anything in this script )


I didnt test this script now, so if you have trouble to run it, feel free to ask here, also there are stuff that I do not remember about this script, so please feel free to ask my anything, one look at the script and i will remember.


I will upload my whole samp foulder, however you will also need a sql server

Another note, there are LOTS of files at ScriptFiles, as I was working on lots of script and lots of stuff, I did not go threw it, you might find weird or interesting stuff there, however I included it as you might need some of the files. and about the sql tables, I used to have a file that sets up the sql tables, and i will also look for it, however if you wont find it you will have to create your own tables based on the script

[COLOR="rgb(255, 0, 255)"]List of most of the commands,taken from the help foulder:[/COLOR]

[COLOR="rgb(255, 0, 255)"]Job related commands:[/COLOR]

/employment – appoints a place with information about jobs.
/apply – you can apply for a job.
/leavejob – you can remove your job contract.

[COLOR="rgb(255, 0, 255)"]Fishermen job:[/COLOR]
/fish - fishing command. You need to stand next to barriers with roads at pier!
/sellfish - you can sell fish. It appoints you a market place, where to sell fishes.

[COLOR="rgb(255, 0, 255)"]Mechanican job:[/COLOR]
/repair - you can repair a vehicle, with this command.
/fuelcar - you can refill a vehicle.
/tune - you can tune - upgrade a vehicle.

[COLOR="rgb(255, 0, 255)"]Street Cleaner:[/COLOR]
/startclean - you can start cleaning streets (must be in a dustcar).
/stopclean - you can stop cleaning and get money for trash.

[COLOR="rgb(255, 0, 255)"]Detective:[/COLOR]
/attachmole - you can attach a mole on a person. Now you hear him!
/attachgps - you can attach a GPS on a person. Now you see him!
/killmole - remove the mole connection from person.
/killgps - remove GPS connection from person.
/trace - you can trace a phone number.

[COLOR="rgb(255, 0, 255)"]Substance dealer[/COLOR]
/buydrugs - you can purchase some substances from a pharmacy.
/usedrugs - you can use them for yourself.
/give drugs - you can give them to someone and get money for them.

[COLOR="rgb(255, 0, 255)"]Somd admin commands:[/COLOR] ((NOTE: This help was built when the admin system was lvl based, this is why the lvl seperation, however now the seperetion is different , check the admin group defined within the script for more information ))
1 /ac /ann /a /noooc /wcheck /mark /gotomark /ip /setjob
1 /fixveh /killveh /groups /setcarhp /respawncars /recon
1 /state /fuelcars /check /ajail /slap /unjail /sethp
1 /seta /freeze /unfreeze /checkint /int /mute /oocmute
1 /disarm /kick /setskin /ban /ck /goto /gotocar /gethere
1 /gethere /getcar /vote /gotolv /gotosf /gotols /togkill
1 /togpm /respawn /grouplist /clear /weather /ranks /rank
1 /gotoprop
2 /delprop /setgspawn /setgname /clearranks /editrank
2 /bigears /unck /givegun /skick /sban /changename /setpgroup
2 /admincar /setpropowner /setpropinfo
1337 /creategroup /setgtype /removegroup /addhouse /addbiz /setalvl
1337 /addplace /gpsarea /showme /payday /rpm /admincheck /unban
1337 /givemoney /setmoney /rpm /kickall /boom /addvehicle /makeleader
1337 /deletevehicles
[COLOR="rgb(255, 0, 255)"]
Biz commands:
[/COLOR]
/buybiz – you can purchase a business.
/sellbiz – you can sell a business.
/bizwithdraw – you can withdraw money from your business.
/bizbank – you can place money on your businenss account.
/changebizinfo - you can change information of your business.
[COLOR="rgb(255, 0, 255)"]
faction commands:
[/COLOR]
/f - family chat.
/r - radio chat.
/invite – you can invite a person to your group.
/uninvite – you can uninvite a person from your group.
/rank – you can change rank of your member.
/editrank – you can change name of a rank.
/clearranks – you can delete all the ranks.
/setgspawn - You can change spawn-place for your faction.
/grouplist - shows you the whole list of members.
/gate – command to open a gate.
/barrier – command to open barrier.

[COLOR="rgb(255, 0, 255)"]House commands:[/COLOR]
/buyhouse – you can purchase a property.
/sellhouse – you can sell a property.
/lock – you can lock your property.
/roomates – list of your current room mates.
/offerroom– you can offer a room.
/leaveroom – you can unrent a room.
/evict – you can force a person to unrent your house.
/housewithdraw – withdrawing money from your house.
/changehouseinfo – you can change a portrayal.
/getpropid – you can obtain an ID of your house.

[COLOR="rgb(255, 0, 255)"]Item commands:[/COLOR]
/buy – buy, supermarket command.
/accept – you can accept an offer.
/number – you can check a phone number.
/sid– you can show your id.
/sreg- you can show your car registations.
/sl- you can show your car licenses.
/badge- you can show your badge.

[COLOR="rgb(255, 0, 255)"]Some ooc commands:[/COLOR]
/ipstate off – turns off a IP memorizing mod.
/stats – shows your statistics.
/employment - appoints you a place, with job information.
/togooc – disables a OOC chat, for you.
/admins – shows our current admins online.
/report – you can report a player, with this command.
/id – checks chosen player’s id.
/exit /enter – enter and exit property commands.
/animlist – shows current animations list.

[COLOR="rgb(255, 0, 255)"]Speech commands:[/COLOR]
* -=TheShadow=- <txt> – standard action command. IC
/do <txt> - standard action command. IC
/w[hisper] <id> <txt> - whisper command. IC.
/s <txt> - shout command. IC.
/r <txt> - radio command. IC.
/c <txt> - whisper command. IC.
/f <txt> - family chat. OOC.
/pm <id> <txt> - private message. OOC.
/o <txt> - ooc chat, is being seen by everyone. OOC.

[COLOR="rgb(255, 0, 255)"]Vehicle related commands:[/COLOR]
/buycar – you can buy a vehicle.
/sellcar – you can sell your vehicle.
/car – you can manage your vehicle’s features.
/lockcar – you can lock and unlock your vehicle.
/breaklock – you can break a lock of a vehicle.
/eject – you can eject person from your vehicle.

[COLOR="rgb(255, 0, 255)"]Some extra commands:[/COLOR]
/time – checks current time.
/ad – appoints a checkpoint of advertisment place.
/pay – pay command.
/eject – ejects chosen person from a vehicle.
/call – call, cellphone command.
/sms – sms, cellphone command.
/turnphone – turns on or off your cellphone.
/disablephone – cellphone command.
/hangup /h – hangs up a phone call.
/pickup /p – picks up a phone call.
/fuel – checks your vehicle’s current fuel status.
/fill – fill vehicle command.
/withdraw – withdraw money from bank
/balance – current bank account ballance
/bank – place money on your bank account.
/clothes – change clothes command.

And many more

Reply
#2

Found this , i think its it:
Код:
TABLE 'users'
id
online
name
bank
ajailed
Warrent
AddInfo
paydays
dice
age
jobtime
money
reduce
OnTime
admin
mats
skin
jail
RB
c4
faction
rank
job
Gender
gunslot1,ammoslot1
...
...
gunslot19,ammoslot19
ban
ck
ip
rent
rentpay
pbook
pager
DetSkill
DrugsSkill
drugs
speeding
recklessdriving


TABLE 'houses'
owner(str,def=No)
bank(int)
id(int)
price(int)
x
y
z
pid
worldid
rooms
locked
info

TABLE `cellphones`
number(int)
ID(playerid)
shownum

TABLE `pager`
Number(int)
ID(playerid)

TABLE `groups`
leader

TABLE `ranks`
`1`,`2`,`3`,.....`20`,`300`

TABLE `factions` (FIRST ONE IS the CIVILIANS)
id
type
i
x
y
z
name
salary
diff


TABLE `pddatabase`
name (s)
reporter (s)
 //string (s)
reason(s)
date(s (d.d.d))
time(s (d.d.d))

TABLE `interiors`
id
int
x
y
z
a

TABLE `vehicles`
id
type
x
y
z
r
color1
color2
plate
armor
vid
windows
gpsed
lock
locked
price


TABLE `objects`
id
fid
mid
oid
state
message
x
y
z
rx
ry
rz
fast


TABLE `teleports`
id
x
y
z
i
pid
inhouse
w
x2
y2
z2
i2
inhouse2
w2

TABLE `admintems`
id
perm
name

TABLE `ranks`
id

TABLE `ATM`
ID x Y Z

TALBE `gpsarea`
id
r
string
`ranks`1
1=Last
2..9=NO
10=Oo
11=No
12...18=No
19=No 20=No 


TABLE `bugs`
reporter
bug

TABLE `reports`
id 
reporter 
reported 
hour
min
day
month
year
report
accepted
endreport

TABLE carlist
id
price

TABLE `mayors`
name
votes

TABLE `voted`
name

TABLE donated
name
Reply
#3

Is it really just 13k lines?
Reply
#4

Yes, I loved to make script as short as possible
Reply
#5

You could have posted it in Filterscripts and dont double post plz
or the topic will be locked/removed
and Nice Script rep+
Reply
#6

Why filterscripts? Its a gamemode
Reply
#7

Oh o.O
Sorry but dont double post
Reply
#8

Quote:
Originally Posted by Tafara...(.)
Посмотреть сообщение
Oh o.O
Sorry but dont double post
Who are you to tell him? Please shut up as many people reserve a second post on their thread to be sure of things.
Reply
#9

Would be nice if someone could recreate the SQL table.
Reply
#10

Quote:
Originally Posted by rhds
Посмотреть сообщение
Would be nice if someone could recreate the SQL table.
Check my first replay, its the format for the sql table

oh something to point out, civilians considered group id 1, so you will have to manualy create it, and assing spawn spot etc. that something I remember regarding the sql tables
Reply
#11

Quote:
Originally Posted by -=TheShadow=-
Посмотреть сообщение
Check my first replay, its the format for the sql table

oh something to point out, civilians considered group id 1, so you will have to manualy create it, and assing spawn spot etc. that something I remember regarding the sql tables
That's the thing that no one wants to waste half an hour recreating the database and later on finding out that the GM is not that good, of course I could be wrong, but just an example. Thank you for sharing nevertheless.
Reply
#12

Any screenshots?
Reply
#13

Quote:
Originally Posted by Alex Magaсa
Посмотреть сообщение
Any screenshots?
NO. If you dont want to use the gm, then dont. He is not forcing you to.
Reply
#14

Quote:
Originally Posted by Alex Magaсa
Посмотреть сообщение
Any screenshots?
screenshots dont really matter mate you might as well download and test it.
Reply
#15

Quote:
Originally Posted by Ponii
Посмотреть сообщение
NO. If you dont want to use the gm, then dont. He is not forcing you to.
He asked for screenshots. Why the hell would you go off on him about something irrelevant to what he asked?
Reply
#16

As i know in Gamemodes we all put screenshots! Why??

1. We want to help people for more details and if they like it
2. I don't trust Gamemodes without any screenshot & More Information ( I did once i got virus) and i won't do it again!
That's all!!
Reply
#17

Quote:
Originally Posted by Alex Magaсa
Посмотреть сообщение
As i know in Gamemodes we all put screenshots! Why??

1. We want to help people for more details and if they like it
2. I don't trust Gamemodes without any screenshot & More Information ( I did once i got virus) and i won't do it again!
That's all!!
You can get a virus even if there are screenshots...
Reply
#18

i loved ur server
Reply
#19

Your gamemode is cool no doubt, but add some action in it! some more unique stuff anyway +REPed keep up the good work bro!
Reply
#20

Can someone explain me about the DATABASE shit? I tried to import this but it gives me an error.

Код:
TABLE 'users'
id
online
name
bank
ajailed
Warrent
AddInfo
paydays
dice
age
jobtime
money
reduce
OnTime
admin
mats
skin
jail
RB
c4
faction
rank
job
Gender
gunslot1,ammoslot1
...
...
gunslot19,ammoslot19
ban
ck
ip
rent
rentpay
pbook
pager
DetSkill
DrugsSkill
drugs
speeding
recklessdriving


TABLE 'houses'
owner(str,def=No)
bank(int)
id(int)
price(int)
x
y
z
pid
worldid
rooms
locked
info

TABLE `cellphones`
number(int)
ID(playerid)
shownum

TABLE `pager`
Number(int)
ID(playerid)

TABLE `groups`
leader

TABLE `ranks`
`1`,`2`,`3`,.....`20`,`300`

TABLE `factions` (FIRST ONE IS the CIVILIANS)
id
type
i
x
y
z
name
salary
diff


TABLE `pddatabase`
name (s)
reporter (s)
 //string (s)
reason(s)
date(s (d.d.d))
time(s (d.d.d))

TABLE `interiors`
id
int
x
y
z
a

TABLE `vehicles`
id
type
x
y
z
r
color1
color2
plate
armor
vid
windows
gpsed
lock
locked
price


TABLE `objects`
id
fid
mid
oid
state
message
x
y
z
rx
ry
rz
fast


TABLE `teleports`
id
x
y
z
i
pid
inhouse
w
x2
y2
z2
i2
inhouse2
w2

TABLE `admintems`
id
perm
name

TABLE `ranks`
id

TABLE `ATM`
ID x Y Z

TALBE `gpsarea`
id
r
string
`ranks`1
1=Last
2..9=NO
10=Oo
11=No
12...18=No
19=No 20=No 


TABLE `bugs`
reporter
bug

TABLE `reports`
id 
reporter 
reported 
hour
min
day
month
year
report
accepted
endreport

TABLE carlist
id
price

TABLE `mayors`
name
votes

TABLE `voted`
name

TABLE donated
name
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)