[Help]Checking every 12 hour

12/23/2010 06:16 T.h.u.n.d.e.r#1
hey guys i was trying to make voting machine every 12 hours "for awards" i wander if someone know how to give ability to accept voting only 2 times per day / each 12 hour i was trying with this code there if any1 have idea i really appreciate :)
Code:
'1073', '0','stc(44,31) == 0');
'1081', '0', 'interval(44,31,0) >= 43200');
'1074', '0', 'stc(44,31) = 1 1');
'1080', '0', 'timestamp(44,31) set 0')
12/24/2010 22:34 King_Arthur#2
Sounds like you could do it as a quest.
12/24/2010 23:56 T.h.u.n.d.e.r#3
as quest , cant get what you mean ?
12/25/2010 14:25 ~Sword~Stalker~.#4
he means u can make a vote that while clicking on u get a reward every 12 hours this system can be used to make a quest

for example going to mines and getting lots of iron ores go to the NPC and trade to a reward every 12 hours

Regards
12/26/2010 11:24 T.h.u.n.d.e.r#5
yep i get your point but i shall edit them there is some mistakes that what i was asking about
12/27/2010 08:09 ~Sword~Stalker~.#6
mistakes are required to make a work done :p
12/30/2010 23:42 dungeonmaster#7
Sounds interesting, learn from mistakes :P best way to make it perfect
12/31/2010 09:42 ~Sword~Stalker~.#8
dungeonmaster why are u spamming every post over here and bumping old threads
spamming is not right in this forum so please stop it


#reported
01/10/2011 20:01 alxandr2#9
good work
01/10/2011 23:03 .Ash#10
Alright i know what you trying to say... ive tried this too but didnt accomplish.

Try these steps
----------------------------------
1) First of all.. you need to modify your user table or make a new one and work with it.

2) Then make a webpage for your website to vote.. (ill edit this with code or probably not because of school..)

3) Remember you modified your table, name it like "vote"

4) make a NPC and write a query for that NPC to check for users ID and check how much vote points does he have.

5) Lastly, add the options of reward based on how much points they have.

I've done up to step 3 and half of 4. i will not give the query for step 4 because its easy.

I haven't tested anything yet. I only made the query and webpage.