VKs Official Server
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» Omg this server with the website is still alive :o
by Razor Tue Nov 19, 2024 10:17 pm

» [Solved] Help & Support
by VK.Angel.OfDeath Thu Oct 24, 2024 7:02 pm

» [Solved] reset password
by VK.Angel.OfDeath Thu Oct 24, 2024 6:58 pm

» [Accepted] Report - Abanoub^
by VK.Angel.OfDeath Thu Oct 24, 2024 6:42 pm

» [Accepted] Unban appeal - hasan
by D4rKR420R Fri Oct 18, 2024 10:06 pm

» [Solved] Report - BelondiOscar
by SJIsNotHere Fri Oct 11, 2024 1:21 pm

» [Solved] Geogeo - Stats Transfer
by SJIsNotHere Tue Oct 01, 2024 5:50 pm

» [Solved] Kindly Re-solve it
by SJIsNotHere Wed Sep 25, 2024 9:55 am

» [Solved] Geogeo - Stats Transfer
by SJIsNotHere Wed Sep 25, 2024 8:10 am

» Matija_Todorovic returns after 3 years of absence
by UmaR Sun Sep 01, 2024 5:55 am

» [Solved] Signature^-Stats transfer
by UmaR Wed Aug 21, 2024 2:38 pm

» [Denied] Admin Application - MK14
by UmaR Fri Aug 16, 2024 8:44 pm

» [Solved] Reset my password pls
by VK.Angel.OfDeath Wed Aug 14, 2024 6:44 am

» Old member back from the dead
by Neptune Mon Aug 12, 2024 9:39 pm

» Vice War X Gameplay | BadDiamondArtz VCMP
by UmaR Thu Jul 18, 2024 10:00 am

» [Solved] RESET PASSWORD
by UmaR Fri Jul 12, 2024 3:29 pm

» [Solved]Transfer Application - Hazard
by SJIsNotHere Wed Jul 03, 2024 10:56 am

» DARKRAZOR RESPONDE MI MENSAJE!!!
by Veterano789 Wed Jul 03, 2024 1:59 am

» Vice War X: The Starfish Showdown
by =FF=B00M_B00M^ Thu Jun 27, 2024 6:17 pm

» Fatal Force - F2
by Mr.Moon Wed Jun 26, 2024 7:18 am

» Stat Transfer Application - SuFyastiC
by D4rKR420R Tue Jun 04, 2024 10:07 pm

» [Accepted] Unban Appeal
by VK.Angel.OfDeath Sun Mar 31, 2024 8:29 am

» [Solved] Password Reset
by VK.Angel.OfDeath Sat Mar 23, 2024 9:32 pm

» Ramadan Mubarak in Advance
by Shafin Sat Mar 23, 2024 1:52 pm

» Illegal Immigration | Old Memories | 2017
by ilemius Fri Feb 09, 2024 5:25 pm

» VKs and VCMP Previews
by SJIsNotHere Sat Jan 20, 2024 1:51 pm

» The Resurgence 4th Year of Anniversary!
by Ninja Tue Jan 16, 2024 10:30 am

» [Solved]Stats Transfer application - Shado[W]^
by SJIsNotHere Mon Nov 27, 2023 5:06 pm

» Hi to all my good friends
by VK.Angel.OfDeath Sat Nov 18, 2023 9:04 am

» [Closed] Admin Application - F2.Ninja
by VK.Angel.OfDeath Sat Nov 18, 2023 8:49 am

Top posters
ЧК. (8555)
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 
VK.Angel.OfDeath (6465)
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 
=SdS=KrlozZ... (6433)
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 
D4rKR420R (5473)
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 
=KF=Thunder^ (5405)
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 
Pavonis (5197)
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 
SJIsNotHere (4432)
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 
Emma (4261)
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 
Vipe[R] (3756)
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 
47. (3705)
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 

Statistics
We have 1978 registered users
The newest registered user is kodaklyve

Our users have posted a total of 217905 messages in 16831 subjects
Top posting users this month
Razor
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 

Top posting users this week
Razor
[Guide] Create job using variables from scratch I_vote_lcap[Guide] Create job using variables from scratch I_voting_bar[Guide] Create job using variables from scratch I_vote_rcap 


[Guide] Create job using variables from scratch

2 posters

Go down

[Guide] Create job using variables from scratch Empty [Guide] Create job using variables from scratch

Post by Emma Sat Mar 27, 2021 12:24 pm

guide
this guide will teach you how to make a daily job you can only do a job 2 times a day. if you want it to be more jobs change the 2 to whatever number you want.
this guide might be very hard to understand so if you got questions feel free to message.


before starting
contact rainbow dash/emma for help this guide might not be completely accurate. i just wanted to list it down for future jobs and for others.
finish up your job. how many jobs do you need?

for each job then make one /addtriggerpickup2 that starts the job for example to teleport the player to one location and one /addtriggerpickup2 that completes the job.

for your start pickups i will call them:

<Mission 1 start pickup> <Mission 2 start pickup> ...

for your complete pickups i will call them:

<Mission 1 complete pickup index>, <Mission 2 complete pickup index> ...


starting your job - success

1. have these at the start of your job pickups. they will calculate the remaining time until the job resets

Code:
/addplayervariablepickup var_temp $sub@server_time/var_saved_time$
/addplayervariablepickup var_temp2 $sub@86400/var_temp$

2. add these two message pickups who will say you completed all jobs of the day or that you started new job

Code:

Completed all jobs mesage pickup: /addmsgpickup2 [#FF0000]Error:[#FFFFFF] You have completed all jobs of the day! Time left until day reset: $time_daily_job@var_saved_time$
Start New Job Message Pickup: /addmsgpickup2 [#33CC33]Information:[#FFFFFF] You've started a new job.

also add this pickup which will be used to reset the daily jobs to 0 if you for example have waited longer than 24 hours.

Code:
Reset Daily Missions Index: /addplayervarpickup var_saved_mission_today 0
/changepickupcondition <Reset Daily Missions Index> var_temp2 <= 0

3. now make pickups for starting each mission. for example if you want to teleport a player or give a certain message.

Code:
[b]Trigger pickup index 1:[/b] /addtriggerpickup2 <Start New Job Message Pickup> <Reset Daily Missions Index> <Mission 1 start pickup> <Mission 2 start pickup> ...

4. now make the condition for this triggerpickup it should start a mission if its been more than 24 hours or you havent completed all mission

Code:
/changepickupcondition <Trigger pickup index 1> var_temp2 <= 0 OR var_saved_mission_today < 2

5. now make conditions for your mission start pickup like the following so they are called on the right mission.

Code:

/changepickupcondition <Mission 1 start pickup> var_saved_mission == NO_VALUE OR var_saved_mission == 0

/changepickupcondition <Mission 2 start pickup> var_saved_mission == 1

/changepickupcondition <Mission 3 start pickup> var_saved_mission == 2


starting your job - fail & putting it together

6.
now just add the opposite condition into the pickup from step 2. which will be called when you dont start a new job.
Code:
/changepickupcondition <Completed all jobs mesage pickup> var_temp2 > 0 AND var_saved_mission_today >= 2

7. now add the trigger pickups from step 6 and 3 into another /addtriggerpickup2 and that will be the pickup that will start all your missions



completing job
8. add these pickup indexes into your <Mission 1 complete pickup index>, <Mission 2 complete pickup index> ...

Code:
/addchangeplayervarpickup var_saved_mission 1
/addplayervariablepickup var_saved_time $server_time$
/addchangeplayervarpickup var_saved_mission_today 1

for the last job use so the job starts over from the first job:
Code:
/addplayervariablepickup var_saved_mission 0



_______________________________________
[You must be registered and logged in to see this image.]
Emma
Emma
Event Staff
Event Staff

Gender : Female
Posts : 4261
Points : 6189
Reputation : 81
Join date : 2013-04-25
Age : 19
Location : Next room to angel.Ofnoob (i am Rainbow)

Back to top Go down

[Guide] Create job using variables from scratch Empty Re: [Guide] Create job using variables from scratch

Post by 6iX1Ne9iNeeeeeee Mon Mar 29, 2021 8:01 am

Nice Smile
6iX1Ne9iNeeeeeee
6iX1Ne9iNeeeeeee
Normal Member
Normal Member

Gender : Male
Posts : 68
Points : 105
Reputation : 0
Join date : 2020-11-08
Age : 20
Location : House of ghosts

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum