Register for your free account! | Forgot your password?

Go Back   elitepvpers > New Arrivals > Blade & Soul
You last visited: Today at 13:49

  • Please register to post and access all features, it's quick, easy and FREE!

 

Get the Action Market Place on your Browser (Source Code)

Reply
 
Old   #1

 
elite*gold: 0
The Black Market: 113/0/0
Join Date: Dec 2008
Posts: 2,230
Received Thanks: 952
Get the Action Market Place on your Browser (Source Code)

Hey guys,

if u want your Market Place on your Browser, just add that Source on a PHP file:
PHP Code:
<?php
$output 
curl_exec($ch);
$info curl_getinfo($ch);
curl_close($ch);

define ('ServiceCore''http://eu-bnsmarket.ncsoft.com/bns/bidder/home.web?npc=false');
$path $_GET['service'];
$url ServiceCore.$path;
$session curl_init($url);

if (
$_GET['service']){
    
$postvars '';
    foreach(
$_GET as $key=>$val) {
        if(
$key!='service') {
            
$postvars.="$key=$val&";
        }
    }
    
curl_setopt ($sessionCURLOPT_POSTtrue);
    
curl_setopt ($sessionCURLOPT_POSTFIELDS$postvars);
}

curl_setopt($sessionCURLOPT_COOKIE"COOKIES HERE");
curl_setopt($sessionCURLOPT_USERAGENT"BROWSER INFO HERE");
curl_setopt($sessionCURLOPT_HEADERfalse);
curl_setopt($sessionCURLOPT_RETURNTRANSFERtrue);
curl_setopt($sessionCURLOPT_FOLLOWLOCATIONtrue);

$json curl_exec($session);
echo 
$json;
curl_close($session);
?>
Just set the Cookies and Browser Informationen.
But u can use what ever you want for your Browser.
PHP Code:
curl_setopt($sessionCURLOPT_USERAGENT"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6"); 
If you dont know how to find the Cookies, just Download somethink like Fiddler4 (easy way).
Start Fiddler4 (from Beginning of the Start, Fiddler4 Starts Logging everythink on your Network), Start Blade and Soul and go to your Market Place (F5).
Since its Open, switch to Fiddler4 and search the URL:
If you found it, just rightclick that URL and Select: Safe -> Selected Session -> As Text
Safe the file where ever you want and Open it.
There u see the Part "Cookie:", just Copy the Line and add it on the Cookie Line on your Code.
Just like that:
PHP Code:
curl_setopt($sessionCURLOPT_COOKIE"Cookie: commonWebPath=/web; localWebPath=/english/web; language=en; GPVLU=Censored; SessionIndex=1;"); 
If ur done, just safe the file, Upload (or move it) on a Webspace with PHP.
Visit that .php file, and ur done.

You can also set ur own style of the market (preg_match_all or somethink like that).
And you can make it Public on your Website.
Edit: Dont make your GPVLU Public! (MD5 Username, Password etc.)

Any Questions?



ZarneXxX is offline  
Thanks
1 User
Old   #2
 
elite*gold: 25
Join Date: Oct 2013
Posts: 4,474
Received Thanks: 1,265
With this code you're able to use the Searchbar.

PHP Code:
<?php
$item 
= ($_GET['q']);    
$session curl_init();
curl_setopt($sessionCURLOPT_URL,"http://eu-bnsmarket.ncsoft.com/bns/bidder/search.web?ct=&exact=&grade=&level=&prevq=&q=$item");
curl_setopt($sessionCURLOPT_COOKIE,'cookies');
curl_setopt($session,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393');
curl_setopt($sessionCURLOPT_HEADERfalse);    
curl_setopt($sessionCURLOPT_RETURNTRANSFERtrue);
curl_setopt($sessionCURLOPT_FOLLOWLOCATIONtrue);
$pagecurl_exec($session);
echo 
$page;
curl_close($session);
?>


Nevada' is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Selling] The Market Place
Hello everyone ! I am selling the last things I have on my Guild Wars account since I though I could make some cash and move on to Guild Wars 2...
1 Replies - Guild Wars Trading
[TOP SPACE-GAME BROWSER] Darkorbit is in 4th Place
Hey, i just saw that DO is 4th TOP game in All. I see it in BBG. The First is OGame and the 2nd is WarpFire. Third Imperion. Guys, If you...
7 Replies - DarkOrbit
5īth Slot Market Place
Weis einer ob man im market place 5īth SLot holen kann wenn ja wo? habe prem aber zu wenig geld
12 Replies - WarRock
Help Please The Npc's of the market is not on the place!
Please Help me when i go to my market the npc's is not on the place and some npc's from phoenix castle but his on the market and when i go to the...
7 Replies - CO2 PServer - Discussions / Questions



All times are GMT +2. The time now is 13:49.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.