|
You last visited: Today at 13:39
Advertisement
C# Vote NPC idea
Discussion on C# Vote NPC idea within the CO2 Private Server forum part of the Conquer Online 2 category.
01/03/2012, 08:45
|
#16
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
Quote:
Originally Posted by -GeniuS-
I bet you also can't figure it out, and the private server won't be destroyed if there isn't that npc, never mind.
|
I'm not sure how to respond to that....
Uhm.... if I couldn't code an NPC by now... that would be ******* pathetic.
|
|
|
01/03/2012, 15:04
|
#17
|
elite*gold: 0
Join Date: May 2011
Posts: 75
Received Thanks: 7
|
And I didn't ask you to code it neither to help me, PLEASE get out of my thread, you are always hating & flaming.
Quote:
Originally Posted by pro4never
still simple but the issue is then changed to PHP and the website itself.
There's lots of ways to do it, the easiest being a simple in/out page for the website. Out page on website checks conditions and forwards users to the vote page while updating the vote database.
In page handles the returned click from the top 100 site, checks conditions in db and handles awarding of cps/items.
Really quite simple.. We did it on hellmouth for the first bit but it's not a very nice system unless your server is currently top 5-10 (user had to find the banner and click it in order to get a reward).
Last I saw trinity was using a similar system but possibly basing it on a more advanced framework.
|
I already know that idea, but I need another one.
|
|
|
01/03/2012, 15:07
|
#18
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by Kiyono
Is it really the simple? I have seen voting NPCs before but none that FORCE you to vote, most just lead you to the voting page and you can still choose not to vote while still receiving voting benefits for clicking.
|
Its not possible to just do the vote from the npc, you would need to vote on the server side if your intention was for the client to never get involved.
If you sacrifice the fact that the client has to open a webpage from the client by way of the npc, then you still cant do a direct vote because the site requires captcha, so unless you feel like trying to get hold of a reverse captcha script you cant do it this way.
Also the entire voting for reward system is flawed because you can never confirm that the user has ever actually voted, the xtop style sites dont have a returning redirection back to your site so you can never actually get confirmation of the vote being made, the most you can do is record the fact that they visited the vote page.
So the simplest and really the only way to do this is to have the client open the vote page, or as pro says if you need to record the fact you 'voted', have the client open a webpage of your own that records the fact you have 'voted' and redirects you to the actual vote page.
And to that end this thread includes everything you need to achieve that.
|
|
|
01/03/2012, 18:03
|
#19
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Quote:
Originally Posted by Y u k i
...
|
The problem is Xtremetop100 is not updating votes every time, but at intervals.
Also would be far better using HttpWebRequest.
|
|
|
01/03/2012, 18:50
|
#20
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Quote:
Originally Posted by Y u k i
thats why it loops for a time.
webrequest? uh no, not in this case.
|
Always. Instead parsing whole text you can just select the part.
|
|
|
01/05/2012, 21:35
|
#21
|
elite*gold: 0
Join Date: Jul 2007
Posts: 200
Received Thanks: 31
|
Im working on a system, for example like this, Login, votepage pops up =  , then from there im trying to get it so, if you CLICK the button, it counts the vote even if the code is wrong, then from there it will reload an alternative page, u login, and it will save a number 1 in an empty document containing the character name, then the server will read the document some how and give the rewards, im still building it tho its not as easy as people make out.
if i can getting it working i will release it, but it will be encrypted, its for flatfile 5165
Quote:
|
<iframe src="http://www.xtremetop100.com/in.php?site=1132326129" id="inneriframe" scrolling="no" frameborder="0" allowtransparency="true" onclick="show_confirm()" value="Show confirm box></iframe>
|
This is were im struggling lol, the rest will be easy
|
|
|
01/05/2012, 22:33
|
#22
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by sonofskeletor
Im working on a system, for example like this, Login, votepage pops up =  , then from there im trying to get it so, if you CLICK the button, it counts the vote even if the code is wrong, then from there it will reload an alternative page, u login, and it will save a number 1 in an empty document containing the character name, then the server will read the document some how and give the rewards, im still building it tho its not as easy as people make out.
if i can getting it working i will release it, but it will be encrypted, its for flatfile 5165
This is were im struggling lol, the rest will be easy
|
Few things..
#1: Use a database... will be MUCH simpler with the php you need to write.
#2: The simplest way to 'check' for vote is only count the vote if they exit your site AND return from top 100.
As I said before, the simplest way but not the most effective.
All vote links go to something like
This checks if their ip has voted within last 12 hours (checks database). If they have not voted yet, it sets outTime in database to now.
They must then click your banner on the top 100 site after voting which routes to a  which checks if their ip is in the database, outTime is within last... 5 minutes? and they have not already claimed their prize.
Assuming all conditions are passed in the votein then you award the account in database. Note: The only SLIGHT issue is handling which account it gets credited to... that's why I'd make them log into your website before continuing and use that login to handle awarding the proper character.
For them to claim reward without voting they'd have to understand how the system works, go through the vote out page and then still do the votein page (url could change any time you wish if you find people are abusing it). Most people are going to take the time in this case to just type the damn captcha.
The other issue is making sure the explanation is clear AND being a top 5-10 server (if not looking for the linkback is difficult). I'm positive their system is more advanced but I seem to remember trinity using this type of a system. We also experimented with it on hellmouth and it worked quite well.
|
|
|
01/05/2012, 22:53
|
#23
|
elite*gold: 0
Join Date: Jul 2007
Posts: 200
Received Thanks: 31
|
What i need to do is steal xtreamtop100's source for my vote page, get it fully functional under my ip address, and just record who clicks the Submit button, but its getting the capture and shit to load is proving to be a totaly asshole lol.
PHP Code:
<form method="POST" action="in.php" style="display: inline;">
<input type="hidden" value="1132326129" name="site" /> // THIS IS THE ID IT SENDS THIS DATA AFTER THE CAPTURE
<p style="text-align: center">
<script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6Lc-vgUAAAAAAFuincwPfoVieQ5gVbUtlShMRpRe"></script>
<noscript>
<iframe src="http://api.recaptcha.net/noscript?k=6Lc-vgUAAAAAAFuincwPfoVieQ5gVbUtlShMRpRe" height="300" width="500" frameborder="0"></iframe><br/>
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
<input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
</noscript><br /><input type="submit" value="Vote for DISLOCATION-CO" name="submit"><br /><br />
<table border="0" width="100" cellspacing="0" cellpadding="0" id="table4">
Submit button = 
But at the same time it sends data to that page witch is the ID/MySite
|
|
|
 |
|
Similar Threads
|
[B] Vote 4 Coins Script (IP & Account Abfrage) bis zu 5 Vote Seiten! (Eigenständig)
10/11/2011 - Metin2 Trading - 2 Replies
Ich habe ein Vote System programmiert, bei dem Spieler für Coins voten können. Bis zu 5 Seiten können eingetragen werden (Kann ich beliebig erweitern)
Es wird in einer Datenbank die IP & AccountID gespeichert, somit kann man mit einer IP auch nur einmal Voten und pro Account auch nur einmal auch wenn man die IP resetten sollte.
Somit ist ein Betrug vollkommen ausgeschlossen.
Das Script ist eigenständig und passt somit zu jeder Website!
|
[Guide] Vote abuse for any private server with vote reward system
08/12/2011 - Off Topic - 3 Replies
I do not know if this is the right place to post this @_@
Source : http://tachael.vacau.com/Thread-Vote-abuse-for-any -private-server?pid=59#pid59
What you need:
Lots of account
http://fileace.com/h0l0a
First step:
Register accounts in the private server you want to vote abuse.
|
idea: Vote hack For Private servers
08/11/2011 - World of Warcraft - 4 Replies
Ok so i looked trough Developer tools i the codes on the Voting site For "www.worldofthegods.com" And i found something intresting, dont be scared now :)
var Realm = document.getElementById("realm"); var Character = document.getElementById("character"); var Reward = document.getElementById("reward"); var Description = document.getElementById("description"); var Cost = document.getElementById("cost"); var Points = document.getElementById("points"); var Purchase =...
|
idea, vote points
05/23/2009 - RF Online - 0 Replies
hiya all:bandit:
u all know it... ure voting for ur private server to get some game points... but i want more... always wait 12 hours after 1 vote?! thats shitty... i was trying to bypass this waiting time with some proxys... but fail... some1 have any idea?
peace out:bandit:
|
All times are GMT +1. The time now is 13:41.
|
|