|
You last visited: Today at 02:51
Advertisement
[Release] epvpapi - .NET Library für elitepvpers
Discussion on [Release] epvpapi - .NET Library für elitepvpers within the Coding Releases forum part of the Coders Den category.
03/10/2015, 17:29
|
#46
|
elite*gold: 120
Join Date: Feb 2010
Posts: 1,107
Received Thanks: 73
|
Quote:
Originally Posted by Mostey
Jetzt sollte das auch wie gewünscht funktionieren.
|
Danke, funktioniert.
|
|
|
03/17/2015, 20:00
|
#47
|
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
|
Quote:
Originally Posted by Mostey
Update - Version 1.1 auf  und in  veröffentlicht
|
Version 1.1.1 haben wir nun auch auf  und  veröffentlicht.
|
|
|
04/04/2015, 14:27
|
#48
|
elite*gold: 120
Join Date: Feb 2010
Posts: 1,107
Received Thanks: 73
|
Hi,
wollt mal fragen, ob ihr eine "delete"-Funktion für (Section)Posts implementieren könnt.
Wäre das möglich?
-
|
|
|
04/04/2015, 18:23
|
#49
|
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
|
Quote:
Originally Posted by iDeliver
Hi,
wollt mal fragen, ob ihr eine "delete"-Funktion für (Section)Posts implementieren könnt.
Wäre das möglich?
-
|
Könnte man durchaus, ja. Das wird dann aber entsprechend nur funktionieren, wenn du die Rechte dazu besitzt. Heißt, deine eigenen Posts wirst du löschen können, die von anderen aber nicht.
Ich habe es auf GitHub notiert. Shawak oder ich kümmern uns irgendwann mal darum.
|
|
|
04/12/2015, 02:14
|
#50
|
elite*gold: 317
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
|
Funktioniert eig alles sehr gut, aber kann ich mit dieser API auch Posts erstellen? D.h. auf nen Thread antworten?
Vll bin ich grade auch einfach nur blind, ist ja spät genug^^ Finde bisher nur Funktionen, um Posts abzurufen...
Edit:
Funktioniert so, ist das der korrekte Weg?
Snippet:
Code:
int threadid = SectionThread.FromUrl("http://www.elitepvpers.com/forum/hearthstone/2897429-hearthstone-chit-chat-316.html");
var post = new SectionPost(new Content("Der Thread ist so tot, dass ich ihn für EPVP API Tests missbrauche."));
var thread = new SectionThread(threadid, new Section(764, "hearthstone"));
thread.Reply<User>(session, post);
PS: Ist die Section-ID irgendwie aus dem Link heraus abrufbar? Bzw. SectionThread direkt aus ner URL?
|
|
|
04/12/2015, 08:45
|
#51
|
elite*gold: 0
Join Date: May 2010
Posts: 6,853
Received Thanks: 5,106
|
SectionID musst soweit ich weiß aus dem epvp Quellcode raussuchen:
PHP Code:
<option value="451" class="fjdpth0"> e*pvp Premium Area</option>
<option value="453" class="fjdpth1"> Premium Main</option>
<option value="454" class="fjdpth1"> Premium Releases & Sharing</option>
<option value="633" class="fjdpth0"> News</option>
<option value="205" class="fjdpth1"> e*pvp News</option>
<option value="534" class="fjdpth2"> e*pvp News - EN</option>
<option value="533" class="fjdpth2"> e*pvp News - DE</option>
<option value="519" class="fjdpth2"> e*pvp Broadcasts</option>
<option value="703" class="fjdpth2"> e*pvp Let's Plays</option>
<option value="527" class="fjdpth2"> e*pvp Podcasts</option>
<option value="592" class="fjdpth3"> e*pvp Podcasts - EN</option>
<option value="576" class="fjdpth3"> e*pvp Podcasts - DE</option>
<option value="547" class="fjdpth1"> Gaming News</option>
<option value="524" class="fjdpth2"> Gaming News - EN</option>
<option value="522" class="fjdpth2"> Gaming News - DE</option>
<option value="238" class="fjdpth2"> User Submitted News</option>
<option value="706" class="fjdpth2"> Game Reviews</option>
<option value="718" class="fjdpth2"> Tech Reviews</option>
<option value="636" class="fjdpth0"> General</option>
<option value="206" class="fjdpth1"> Main</option>
<option value="749" class="fjdpth1"> Suggestions</option>
<option value="359" class="fjdpth1"> Say Hello</option>
<option value="210" class="fjdpth1"> Joining e*pvp</option>
<option value="564" class="fjdpth2"> Content Team Applications</option>
<option value="466" class="fjdpth1"> Complaint Area</option>
<option value="769" class="fjdpth1"> The Black Market Support</option>
<option value="770" class="fjdpth2"> TBM Rating Support</option>
<option value="614" class="fjdpth2"> elite*gold Support</option>
<option value="635" class="fjdpth0"> General Gaming</option>
<option value="225" class="fjdpth1"> General Gaming Discussion</option>
<option value="731" class="fjdpth2"> General Gaming Releases</option>
<option value="267" class="fjdpth2"> Private Server - Discussions / Questions</option>
<option value="341" class="fjdpth1"> Consoles</option>
<option value="793" class="fjdpth2"> Consoles Black Market</option>
<option value="300" class="fjdpth1"> Foreign Games</option>
<option value="762" class="fjdpth0"> New Arrivals</option>
<option value="784" class="fjdpth1"> ArcheAge</option>
<option value="794" class="fjdpth2"> ArcheAge Hacks, Bots, Cheats & Exploits</option>
<option value="786" class="fjdpth2"> ArcheAge Black Market</option>
<option value="763" class="fjdpth1"> EverQuest Next</option>
<option value="812" class="fjdpth1"> H1Z1</option>
<option value="787" class="fjdpth1"> Heroes of the Storm</option>
<option value="789" class="fjdpth2"> Heroes of the Storm Black Market</option>
<option value="816" class="fjdpth1"> Smite</option>
<option value="817" class="fjdpth2"> Smite Black Market</option>
<option value="188" class="fjdpth0"> World of Warcraft</option>
<option value="250" class="fjdpth1"> WoW Main - Discussions / Questions</option>
<option value="266" class="fjdpth2"> WoW Ask the Experts</option>
<option value="757" class="fjdpth2"> WoW Recruitment Center</option>
<option value="554" class="fjdpth1"> WoW Black Market</option>
<option value="226" class="fjdpth1"> WoW Guides & Templates</option>
<option value="249" class="fjdpth1"> WoW Exploits, Hacks, Tools & Macros</option>
<option value="339" class="fjdpth1"> WoW Bots</option>
<option value="336" class="fjdpth1"> WoW Modelchange Support</option>
<option value="387" class="fjdpth2"> WoW Modelchange Tools & Guides</option>
<option value="407" class="fjdpth2"> WoW Modelchange Requests</option>
<option value="274" class="fjdpth1"> WoW Addons</option>
<option value="548" class="fjdpth1"> WoW Private Server</option>
<option value="393" class="fjdpth2"> WoW PServer Exploits, Hacks & Tools</option>
<option value="307" class="fjdpth2"> WoW PServer Hosting</option>
<option value="741" class="fjdpth2"> WoW PServer Advertising</option>
<option value="717" class="fjdpth0"> Diablo 3</option>
<option value="445" class="fjdpth1"> Diablo 3 Main - Discussions / Questions</option>
<option value="714" class="fjdpth1"> Diablo 3 Black Market</option>
<option value="715" class="fjdpth1"> Diablo 3 Guides & Strategies</option>
<option value="716" class="fjdpth1"> Diablo 3 Hacks, Bots, Cheats & Exploits</option>
<option value="753" class="fjdpth0"> League of Legends</option>
<option value="607" class="fjdpth1"> League of Legends Main - Discussions / Questions</option>
<option value="710" class="fjdpth2"> League of Legends Ask the Experts</option>
<option value="644" class="fjdpth1"> League of Legends Black Market</option>
<option value="648" class="fjdpth1"> League of Legends Guides & Strategies</option>
<option value="750" class="fjdpth1"> League of Legends Hacks, Bots, Cheats & Exploits</option>
<option value="724" class="fjdpth0"> Guild Wars 2</option>
<option value="622" class="fjdpth1"> GW2 Main - Discussions / Questions</option>
<option value="728" class="fjdpth1"> GW2 Black Market</option>
<option value="725" class="fjdpth1"> GW2 Guides & Strategies</option>
<option value="726" class="fjdpth1"> GW2 Hacks, Bots, Cheats & Exploits</option>
<option value="536" class="fjdpth0"> Aion</option>
<option value="382" class="fjdpth1"> Aion Main - Discussions / Questions</option>
<option value="555" class="fjdpth1"> Aion Black Market</option>
<option value="499" class="fjdpth1"> Aion Guides & Strategies</option>
<option value="515" class="fjdpth1"> Aion Hacks, Bots, Cheats & Exploits</option>
<option value="589" class="fjdpth1"> Aion Private Server</option>
<option value="700" class="fjdpth0"> Star Wars: The Old Republic</option>
<option value="624" class="fjdpth1"> SWTOR Main - Discussions / Questions</option>
<option value="695" class="fjdpth1"> SWTOR Black Market</option>
<option value="701" class="fjdpth1"> SWTOR Guides & Strategies</option>
<option value="702" class="fjdpth1"> SWTOR Hacks, Bots, Cheats & Exploits</option>
<option value="195" class="fjdpth0"> Conquer Online 2</option>
<option value="246" class="fjdpth1"> CO2 Main - Discussions / Questions</option>
<option value="449" class="fjdpth2"> CO2 Programming</option>
<option value="556" class="fjdpth1"> CO2 Black Market</option>
<option value="299" class="fjdpth1"> CO2 Guides & Templates</option>
<option value="349" class="fjdpth2"> CO2 Weapon, Armor, Effects & Interface edits</option>
<option value="277" class="fjdpth1"> CO2 Exploits, Hacks & Tools</option>
<option value="317" class="fjdpth1"> CO2 Bots & Macros</option>
<option value="450" class="fjdpth1"> CO2 PServer - Discussions / Questions</option>
<option value="578" class="fjdpth2"> CO2 PServer Guides & Releases</option>
<option value="579" class="fjdpth2"> CO2 PServer Advertising</option>
<option value="202" class="fjdpth0"> Silkroad Online</option>
<option value="312" class="fjdpth1"> SRO Main - Discussions / Questions</option>
<option value="383" class="fjdpth2"> SRO Ask the Experts</option>
<option value="557" class="fjdpth1"> SRO Black Market</option>
<option value="344" class="fjdpth1"> SRO Guides & Templates</option>
<option value="335" class="fjdpth1"> SRO Exploits/Hacks/Bots/Guides</option>
<option value="632" class="fjdpth1"> SRO Coding Corner</option>
<option value="398" class="fjdpth1"> Private SRO Main Discussions / Questions</option>
<option value="399" class="fjdpth2"> Private SRO Exploits/Hacks/Bots/Guides</option>
<option value="420" class="fjdpth2"> Private SRO Ask the Experts</option>
<option value="639" class="fjdpth2"> Private SRO Advertising</option>
<option value="538" class="fjdpth1"> Foreign SRO - Discussions / Questions</option>
<option value="539" class="fjdpth2"> Foreign SRO Hacks, Bots, Cheats & Exploits</option>
<option value="400" class="fjdpth0"> Cabal Online</option>
<option value="330" class="fjdpth1"> Cabal Main - Discussions / Questions</option>
<option value="465" class="fjdpth2"> Cabal PServer - Discussions / Questions</option>
<option value="558" class="fjdpth1"> Cabal Black Market</option>
<option value="402" class="fjdpth1"> Cabal Guides & Templates</option>
<option value="401" class="fjdpth1"> Cabal Hacks, Bots, Cheats, Exploits & Macros</option>
<option value="403" class="fjdpth0"> Metin2</option>
<option value="366" class="fjdpth1"> Metin2 Main - Discussions / Questions</option>
<option value="485" class="fjdpth2"> Metin2 Foreign - Discussions / Questions</option>
<option value="560" class="fjdpth1"> Metin2 Black Market</option>
<option value="404" class="fjdpth1"> Metin2 Guides & Templates</option>
<option value="405" class="fjdpth1"> Metin2 Hacks, Bots, Cheats, Exploits & Macros</option>
<option value="447" class="fjdpth1"> Metin2 PServer - Discussions / Questions</option>
<option value="545" class="fjdpth2"> Metin2 PServer Guides & Strategies</option>
<option value="814" class="fjdpth2"> Metin2 PServer Designs, Websites & Scripts</option>
<option value="617" class="fjdpth2"> Metin2 PServer News</option>
<option value="476" class="fjdpth0"> Flyff (Fly For Fun)</option>
<option value="322" class="fjdpth1"> Flyff Main - Discussions / Questions</option>
<option value="583" class="fjdpth1"> Flyff Black Market</option>
<option value="477" class="fjdpth1"> Flyff Hacks, Bots, Cheats, Exploits & Macros</option>
<option value="448" class="fjdpth1"> Flyff PServer - Discussions / Questions</option>
<option value="707" class="fjdpth2"> Flyff PServer Guides & Releases</option>
<option value="475" class="fjdpth2"> Flyff PServer Advertising</option>
<option value="367" class="fjdpth0"> The Black Market</option>
<option value="580" class="fjdpth1"> elite*gold Trading</option>
<option value="368" class="fjdpth1"> Trading</option>
<option value="800" class="fjdpth1"> Shooter Trading</option>
<option value="681" class="fjdpth2"> Combat Arms Trading</option>
<option value="790" class="fjdpth2"> Counter-Strike Trading</option>
<option value="610" class="fjdpth2"> CrossFire Trading</option>
<option value="737" class="fjdpth2"> DayZ Trading</option>
<option value="738" class="fjdpth2"> Infestation Trading</option>
<option value="776" class="fjdpth2"> Rust Trading</option>
<option value="641" class="fjdpth2"> S4 League Trading</option>
<option value="595" class="fjdpth2"> WarRock Trading</option>
<option value="801" class="fjdpth1"> MMORPG Trading</option>
<option value="620" class="fjdpth2"> 4Story Trading</option>
<option value="569" class="fjdpth2"> 9Dragons Trading</option>
<option value="552" class="fjdpth2"> Aion Trading</option>
<option value="785" class="fjdpth2"> ArcheAge Trading</option>
<option value="455" class="fjdpth2"> Archlord Trading</option>
<option value="735" class="fjdpth2"> Atlantica Online Trading</option>
<option value="507" class="fjdpth2"> Cabal Online Trading</option>
<option value="370" class="fjdpth2"> Conquer Online 2 Trading</option>
<option value="496" class="fjdpth2"> Dekaron Trading</option>
<option value="713" class="fjdpth2"> Diablo 3 Trading</option>
<option value="670" class="fjdpth2"> Dragonica Trading</option>
<option value="805" class="fjdpth2"> Elsword Trading</option>
<option value="722" class="fjdpth2"> Eve Online Trading</option>
<option value="808" class="fjdpth2"> Final Fantasy Trading</option>
<option value="581" class="fjdpth2"> Fly For Fun Trading</option>
<option value="727" class="fjdpth2"> Guild Wars 2 Trading</option>
<option value="494" class="fjdpth2"> Guild Wars Trading</option>
<option value="590" class="fjdpth2"> Last Chaos Trading</option>
<option value="470" class="fjdpth2"> Metin2 Trading</option>
<option value="582" class="fjdpth2"> Nostale Trading</option>
<option value="743" class="fjdpth2"> Perfect World Trading</option>
<option value="553" class="fjdpth2"> Rappelz Trading</option>
<option value="657" class="fjdpth2"> Rift Trading</option>
<option value="565" class="fjdpth2"> Runescape Trading</option>
<option value="677" class="fjdpth2"> Shaiya Trading</option>
<option value="371" class="fjdpth2"> Silkroad Online Trading</option>
<option value="694" class="fjdpth2"> Star Wars: The Old Republic Trading</option>
<option value="807" class="fjdpth2"> The Elder Scrolls Online Trading</option>
<option value="782" class="fjdpth2"> Wildstar Trading</option>
<option value="369" class="fjdpth2"> World of Warcraft Trading</option>
<option value="802" class="fjdpth1"> Other Online Games Trading</option>
<option value="796" class="fjdpth2"> Clash of Clans Trading</option>
<option value="759" class="fjdpth2"> Fifa Trading</option>
<option value="755" class="fjdpth2"> Grand Theft Auto Trading</option>
<option value="758" class="fjdpth2"> Hearthstone Trading</option>
<option value="788" class="fjdpth2"> Heroes of the Storm Trading</option>
<option value="642" class="fjdpth2"> League of Legends Trading</option>
<option value="659" class="fjdpth2"> Minecraft Trading</option>
<option value="815" class="fjdpth2"> Smite Trading</option>
<option value="803" class="fjdpth2"> World of Tanks Trading</option>
<option value="567" class="fjdpth1"> Steam Trading</option>
<option value="704" class="fjdpth1"> Origin Trading</option>
<option value="797" class="fjdpth1"> Other Trading</option>
<option value="698" class="fjdpth2"> Artist Trading</option>
<option value="729" class="fjdpth2"> Coders Trading</option>
<option value="798" class="fjdpth2"> Crypto Currency Trading</option>
<option value="795" class="fjdpth2"> Web Host / Server Trading</option>
<option value="668" class="fjdpth1"> Browsergames Trading</option>
<option value="792" class="fjdpth1"> Consoles Trading</option>
<option value="712" class="fjdpth1"> Freebies</option>
<option value="650" class="fjdpth1"> Advanced Trading</option>
<option value="606" class="fjdpth1"> Middleman</option>
<option value="634" class="fjdpth0"> Shooter</option>
<option value="616" class="fjdpth1"> All Points Bulletin</option>
<option value="613" class="fjdpth1"> Alliance of Valiant Arms</option>
<option value="631" class="fjdpth1"> Battlefield</option>
<option value="630" class="fjdpth1"> Call of Duty</option>
<option value="686" class="fjdpth2"> Call of Duty Hacks, Bots, Cheats & Exploits</option>
<option value="446" class="fjdpth1"> Combat Arms</option>
<option value="572" class="fjdpth2"> Combat Arms Hacks, Bots, Cheats & Exploits</option>
<option value="682" class="fjdpth2"> Combat Arms Black Market</option>
<option value="601" class="fjdpth1"> Counter-Strike</option>
<option value="605" class="fjdpth2"> Counter-Strike Hacks, Bots, Cheats & Exploits</option>
<option value="791" class="fjdpth2"> Counter-Strike Black Market</option>
<option value="529" class="fjdpth1"> CrossFire</option>
<option value="628" class="fjdpth2"> CrossFire Hacks, Bots, Cheats & Exploits</option>
<option value="611" class="fjdpth2"> CrossFire Black Market</option>
<option value="720" class="fjdpth1"> DayZ</option>
<option value="739" class="fjdpth2"> DayZ Black Market</option>
<option value="284" class="fjdpth1"> GunZ</option>
<option value="733" class="fjdpth1"> Infestation</option>
<option value="740" class="fjdpth2"> Infestation Black Market</option>
<option value="329" class="fjdpth1"> Planetside</option>
<option value="775" class="fjdpth1"> Rust</option>
<option value="779" class="fjdpth2"> Rust Server Advertising</option>
<option value="777" class="fjdpth2"> Rust Black Market</option>
<option value="469" class="fjdpth1"> S4 League</option>
<option value="518" class="fjdpth2"> S4 League Hacks, Bots, Cheats & Exploits</option>
<option value="643" class="fjdpth2"> S4 League Black Market</option>
<option value="384" class="fjdpth1"> Soldier Front</option>
<option value="501" class="fjdpth2"> Soldier Front Philippines</option>
<option value="498" class="fjdpth2"> Soldier Front Hacks, Bots, Cheats & Exploits</option>
<option value="679" class="fjdpth1"> Team Fortress 2</option>
<option value="332" class="fjdpth1"> WarRock</option>
<option value="609" class="fjdpth2"> WarRock Guides, Tutorials & Modifications</option>
<option value="491" class="fjdpth2"> WarRock Hacks, Bots, Cheats & Exploits</option>
<option value="596" class="fjdpth2"> WarRock Black Market</option>
<option value="396" class="fjdpth1"> Wolfteam</option>
<option value="184" class="fjdpth0"> MMORPGs</option>
<option value="574" class="fjdpth1"> 4Story</option>
<option value="600" class="fjdpth2"> 4Story Hacks, Bots, Cheats & Exploits</option>
<option value="621" class="fjdpth2"> 4Story Black Market</option>
<option value="514" class="fjdpth1"> 12Sky2</option>
<option value="542" class="fjdpth2"> 12Sky2 Hacks, Bots, Cheats & Exploits</option>
<option value="345" class="fjdpth1"> 9Dragons</option>
<option value="570" class="fjdpth2"> 9Dragons Black Market</option>
<option value="460" class="fjdpth1"> Ace Online / AirRivals</option>
<option value="618" class="fjdpth1"> Allods</option>
<option value="338" class="fjdpth1"> Archlord</option>
<option value="561" class="fjdpth2"> Archlord Black Market</option>
<option value="573" class="fjdpth1"> Atlantica Online</option>
<option value="736" class="fjdpth2"> Atlantica Online Black Market</option>
<option value="778" class="fjdpth1"> Aura Kingdom</option>
<option value="612" class="fjdpth1"> Battle of the Immortals</option>
<option value="543" class="fjdpth1"> C9 - Continent of the Ninth</option>
<option value="521" class="fjdpth1"> Dragonica</option>
<option value="530" class="fjdpth2"> Dragonica Hacks, Bots, Cheats & Exploits</option>
<option value="651" class="fjdpth2"> Dragonica Private Server</option>
<option value="671" class="fjdpth2"> Dragonica Black Market</option>
<option value="457" class="fjdpth1"> Dekaron</option>
<option value="458" class="fjdpth2"> Dekaron Exploits, Hacks, Bots, Tools & Macros</option>
<option value="397" class="fjdpth2"> Dekaron Private Server</option>
<option value="535" class="fjdpth3"> Dekaron PServer Hacks, Bots, Cheats & Exploits</option>
<option value="559" class="fjdpth2"> Dekaron Black Market</option>
<option value="649" class="fjdpth1"> Elsword</option>
<option value="806" class="fjdpth2"> Elsword Black Market</option>
<option value="331" class="fjdpth1"> Eudemons Online</option>
<option value="352" class="fjdpth2"> EO Guides & Templates</option>
<option value="480" class="fjdpth3"> EO Weapon, Armor, Effects & Interface edits</option>
<option value="353" class="fjdpth2"> EO Exploits, Hacks, Tools & Macros</option>
<option value="392" class="fjdpth2"> EO PServer Hosting</option>
<option value="640" class="fjdpth3"> EO PServer Guides & Releases</option>
<option value="483" class="fjdpth1"> Eve Online</option>
<option value="723" class="fjdpth2"> Eve Online Black Market</option>
<option value="585" class="fjdpth1"> Fantasy Tennis</option>
<option value="711" class="fjdpth1"> Fiesta Online</option>
<option value="218" class="fjdpth1"> Final Fantasy XI</option>
<option value="810" class="fjdpth2"> FFXI Black Market</option>
<option value="222" class="fjdpth2"> FFXI Guides & Templates</option>
<option value="219" class="fjdpth2"> FFXI Exploits, Hacks, Bots, Tools & Macros</option>
<option value="623" class="fjdpth1"> Final Fantasy XIV</option>
<option value="811" class="fjdpth2"> FFXIV Black Market</option>
<option value="482" class="fjdpth1"> Florensia</option>
<option value="663" class="fjdpth1"> Forsaken World</option>
<option value="493" class="fjdpth1"> Grand Chase</option>
<option value="505" class="fjdpth2"> Grand Chase Philippines</option>
<option value="506" class="fjdpth2"> Grand Chase Hacks, Bots, Cheats & Exploits</option>
<option value="229" class="fjdpth1"> Guild Wars</option>
<option value="484" class="fjdpth2"> GW Bot Discussions / Questions</option>
<option value="562" class="fjdpth2"> GW Black Market</option>
<option value="327" class="fjdpth2"> GW Guides & Templates</option>
<option value="328" class="fjdpth2"> GW Exploits, Hacks, Bots, Tools & Macros</option>
<option value="318" class="fjdpth1"> Kal Online</option>
<option value="472" class="fjdpth2"> Kal Hacks, Bots, Cheats & Exploits</option>
<option value="520" class="fjdpth1"> Last Chaos</option>
<option value="696" class="fjdpth2"> Last Chaos Private Server</option>
<option value="591" class="fjdpth2"> Last Chaos Black Market</option>
<option value="235" class="fjdpth1"> Lineage 2</option>
<option value="236" class="fjdpth2"> Lin2 Guides & Templates</option>
<option value="237" class="fjdpth2"> Lin2 Exploits, Hacks, Bots, Tools & Macros</option>
<option value="308" class="fjdpth2"> Lin2 Private Server</option>
<option value="346" class="fjdpth1"> Lord of the Rings Online</option>
<option value="348" class="fjdpth2"> LotRO Guides & Templates</option>
<option value="347" class="fjdpth2"> LotRO Exploits, Hacks, Tools & Macros</option>
<option value="492" class="fjdpth1"> Mabinogi</option>
<option value="586" class="fjdpth2"> Mabinogi Hacks, Bots, Cheats & Exploits</option>
<option value="647" class="fjdpth1"> Maestia</option>
<option value="313" class="fjdpth1"> Maple Story</option>
<option value="748" class="fjdpth1"> Neverwinter</option>
<option value="442" class="fjdpth1"> Nostale</option>
<option value="705" class="fjdpth2"> Nostale Hacks, Bots, Cheats & Exploits</option>
<option value="584" class="fjdpth2"> Nostale Black Market</option>
<option value="389" class="fjdpth1"> Perfect World</option>
<option value="452" class="fjdpth2"> PW Hacks, Bots, Cheats, Exploits</option>
<option value="744" class="fjdpth2"> PW Black Market</option>
<option value="234" class="fjdpth1"> Ragnarok Online</option>
<option value="314" class="fjdpth2"> RO Guides & Templates</option>
<option value="296" class="fjdpth2"> RO Exploits, Hacks, Bots & Guides</option>
<option value="309" class="fjdpth3"> RO Bots & Macros</option>
<option value="306" class="fjdpth2"> Ragnarok Online PServer Hosting</option>
<option value="395" class="fjdpth1"> Rappelz</option>
<option value="680" class="fjdpth2"> Rappelz Private Server</option>
<option value="563" class="fjdpth2"> Rappelz Black Market</option>
<option value="321" class="fjdpth1"> RF Online</option>
<option value="411" class="fjdpth2"> RFO Hacks, Bots, Cheats, Exploits & Guides</option>
<option value="653" class="fjdpth1"> Rift</option>
<option value="655" class="fjdpth2"> Rift Guides & Strategies</option>
<option value="656" class="fjdpth2"> Rift Hacks, Bots, Cheats & Exploits</option>
<option value="658" class="fjdpth2"> Rift Black Market</option>
<option value="419" class="fjdpth1"> Rohan</option>
<option value="360" class="fjdpth1"> Runescape</option>
<option value="662" class="fjdpth2"> Runescape Private Server</option>
<option value="566" class="fjdpth2"> Runescape Black Market</option>
<option value="478" class="fjdpth1"> Shaiya</option>
<option value="571" class="fjdpth2"> Shaiya Hacks, Bots, Cheats & Exploits</option>
<option value="604" class="fjdpth2"> Shaiya Private Server</option>
<option value="645" class="fjdpth3"> Shaiya PServer Development</option>
<option value="742" class="fjdpth3"> Shaiya PServer Guides & Releases</option>
<option value="646" class="fjdpth3"> Shaiya PServer Advertising</option>
<option value="678" class="fjdpth2"> Shaiya Black Market</option>
<option value="709" class="fjdpth1"> Tera</option>
<option value="765" class="fjdpth1"> The Elder Scrolls Online</option>
<option value="809" class="fjdpth2"> TESO Black Market</option>
<option value="683" class="fjdpth1"> Vindictus</option>
<option value="766" class="fjdpth1"> Wildstar</option>
<option value="783" class="fjdpth2"> Wildstar Black Market</option>
<option value="364" class="fjdpth1"> Zero</option>
<option value="198" class="fjdpth0"> Other Online Games</option>
<option value="752" class="fjdpth1"> Cube World</option>
<option value="297" class="fjdpth1"> Diablo 2</option>
<option value="593" class="fjdpth2"> Diablo 2 Programming</option>
<option value="734" class="fjdpth1"> DotA</option>
<option value="746" class="fjdpth1"> Fifa</option>
<option value="760" class="fjdpth2"> Fifa Black Market</option>
<option value="672" class="fjdpth1"> Grand Theft Auto</option>
<option value="756" class="fjdpth2"> GTA Black Market</option>
<option value="764" class="fjdpth1"> Hearthstone</option>
<option value="768" class="fjdpth2"> Hearthstone Black Market</option>
<option value="575" class="fjdpth1"> Heroes of Newerth</option>
<option value="637" class="fjdpth1"> Minecraft</option>
<option value="661" class="fjdpth2"> Minecraft Guides & Strategies</option>
<option value="692" class="fjdpth2"> Minecraft Mods, Textures, Skins & Maps</option>
<option value="652" class="fjdpth2"> Minecraft Server Advertising</option>
<option value="660" class="fjdpth2"> Minecraft Black Market</option>
<option value="638" class="fjdpth1"> Need for Speed World</option>
<option value="754" class="fjdpth2"> NFSW Hacks, Bots, Cheats & Exploits</option>
<option value="745" class="fjdpth1"> Path of Exile</option>
<option value="666" class="fjdpth1"> Pokemon</option>
<option value="619" class="fjdpth1"> Starcraft 2</option>
<option value="667" class="fjdpth1"> Terraria</option>
<option value="767" class="fjdpth1"> World of Tanks</option>
<option value="804" class="fjdpth2"> World of Tanks Black Market</option>
<option value="487" class="fjdpth1"> Browsergames</option>
<option value="599" class="fjdpth2"> Facebook</option>
<option value="772" class="fjdpth3"> Dragon City</option>
<option value="654" class="fjdpth2"> DarkOrbit</option>
<option value="732" class="fjdpth2"> Seafight</option>
<option value="669" class="fjdpth2"> Browsergames Black Market</option>
<option value="799" class="fjdpth1"> Mobile Games</option>
<option value="687" class="fjdpth0"> Coders Den</option>
<option value="325" class="fjdpth1"> General Coding</option>
<option value="326" class="fjdpth2"> Coding Tutorials</option>
<option value="588" class="fjdpth2"> Coding Releases</option>
<option value="773" class="fjdpth3"> Coding Snippets</option>
<option value="730" class="fjdpth2"> Coders Black Market</option>
<option value="689" class="fjdpth1"> C/C++</option>
<option value="690" class="fjdpth1"> .NET Languages</option>
<option value="813" class="fjdpth1"> Java</option>
<option value="500" class="fjdpth1"> AutoIt</option>
<option value="691" class="fjdpth1"> Web Development</option>
<option value="688" class="fjdpth0"> Artists Den</option>
<option value="305" class="fjdpth1"> General Art</option>
<option value="323" class="fjdpth2"> Artist Tutorials</option>
<option value="751" class="fjdpth2"> Artist Showcase</option>
<option value="629" class="fjdpth2"> Artist Battles</option>
<option value="699" class="fjdpth2"> Artist Black Market</option>
<option value="302" class="fjdpth1"> Video Art</option>
<option value="693" class="fjdpth0"> Hardware</option>
<option value="684" class="fjdpth1"> Hardware Discussions / Questions</option>
<option value="685" class="fjdpth1"> Hardware Reviews</option>
<option value="201" class="fjdpth0"> Off-Topics</option>
<option value="208" class="fjdpth1"> Off Topic</option>
<option value="207" class="fjdpth1"> Polls</option>
<option value="230" class="fjdpth1"> Technical Support</option>
<option value="271" class="fjdpth1"> Tutorials</option>
<option value="260" class="fjdpth1"> Quotes</option>
<option value="708" class="fjdpth1"> Smartphones</option>
<option value="747" class="fjdpth1"> Sports</option>
<option value="761" class="fjdpth1"> Cooking</option>
<option value="362" class="fjdpth1"> Music</option>
<option value="444" class="fjdpth1"> Movies</option>
<option value="489" class="fjdpth1"> Anime & Manga</option>
<option value="319" class="fjsel" selected="selected"> Oldschool</option>
|
|
|
04/12/2015, 14:12
|
#52
|
elite*gold: 317
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
|
Habe mal schnell was gebastelt:
Komplette Section Liste:
Code:
ID | Caption
-------------------------------------
633 news
205 e-pvp-news
534 e-pvp-news-en
533 e-pvp-news-de
519 e-pvp-broadcasts
703 e-pvp-lets-plays
527 e-pvp-podcasts
592 e-pvp-podcasts-en
576 e-pvp-podcasts-de
547 gaming-news
524 gaming-news-en
522 gaming-news-de
238 user-submitted-news
706 game-reviews
718 tech-reviews
636 general
206 main
749 suggestions
359 say-hello
210 joining-e-pvp
635 general-gaming
225 general-gaming-discussion
731 general-gaming-releases
267 private-server-discussions-questions
341 consoles
793 consoles-black-market
300 foreign-games
762 new-arrivals
784 archeage
794 archeage-hacks-bots-cheats-exploits
786 archeage-black-market
763 everquest-next
812 h1z1
787 heroes-storm
789 heroes-storm-black-market
816 smite
817 smite-black-market
188 world-warcraft
250 wow-main-discussions-questions
266 wow-ask-experts
757 wow-recruitment-center
554 wow-black-market
226 wow-guides-templates
249 wow-exploits-hacks-tools-macros
339 wow-bots
336 wow-modelchange-support
387 wow-modelchange-tools-guides
407 wow-modelchange-requests
274 wow-addons
548 wow-private-server
393 wow-pserver-exploits-hacks-tools
307 wow-pserver-hosting
741 wow-pserver-advertising
717 diablo-3
445 diablo-3-main-discussions-questions
714 diablo-3-black-market
715 diablo-3-guides-strategies
716 diablo-3-hacks-bots-cheats-exploits
753 league-legends
607 league-legends-main-discussions-questions
710 league-legends-ask-experts
644 league-legends-black-market
648 league-legends-guides-strategies
750 league-legends-hacks-bots-cheats-exploits
724 guild-wars-2
622 gw2-main-discussions-questions
728 gw2-black-market
725 gw2-guides-strategies
726 gw2-hacks-bots-cheats-exploits
536 aion
382 aion-main-discussions-questions
555 aion-black-market
499 aion-guides-strategies
515 aion-hacks-bots-cheats-exploits
589 aion-private-server
700 star-wars-old-republic
624 swtor-main-discussions-questions
695 swtor-black-market
701 swtor-guides-strategies
702 swtor-hacks-bots-cheats-exploits
195 conquer-online-2
246 co2-main-discussions-questions
449 co2-programming
556 co2-black-market
299 co2-guides-templates
349 co2-weapon-armor-effects-interface-edits
277 co2-exploits-hacks-tools
317 co2-bots-macros
450 co2-pserver-discussions-questions
578 co2-pserver-guides-releases
579 co2-pserver-advertising
202 silkroad-online
312 sro-main-discussions-questions
383 sro-ask-experts
557 sro-black-market
344 sro-guides-templates
335 sro-exploits-hacks-bots-guides
632 sro-coding-corner
398 private-sro-main-discussions-questions
399 private-sro-exploits-hacks-bots-guides
420 private-sro-ask-experts
639 private-sro-advertising
538 foreign-sro-discussions-questions
539 foreign-sro-hacks-bots-cheats-exploits
400 cabal-online
330 cabal-main-discussions-questions
465 cabal-pserver-discussions-questions
558 cabal-black-market
402 cabal-guides-templates
401 cabal-hacks-bots-cheats-exploits-macros
403 metin2
366 metin2-main-discussions-questions
485 metin2-foreign-discussions-questions
560 metin2-black-market
404 metin2-guides-templates
405 metin2-hacks-bots-cheats-exploits-macros
447 metin2-pserver-discussions-questions
545 metin2-pserver-guides-strategies
814 metin2-pserver-designs-websites-scripts
617 metin2-pserver-news
476 flyff-fly-fun
322 flyff-main-discussions-questions
583 flyff-black-market
477 flyff-hacks-bots-cheats-exploits-macros
448 flyff-pserver-discussions-questions
707 flyff-pserver-guides-releases
475 flyff-pserver-advertising
367 black-market
580 elite-gold-trading
368 trading
800 shooter-trading
681 combat-arms-trading
790 counter-strike-trading
610 crossfire-trading
737 dayz-trading
738 infestation-trading
776 rust-trading
641 s4-league-trading
595 warrock-trading
801 mmorpg-trading
620 4story-trading
569 9dragons-trading
552 aion-trading
785 archeage-trading
455 archlord-trading
735 atlantica-online-trading
507 cabal-online-trading
370 conquer-online-2-trading
496 dekaron-trading
713 diablo-3-trading
670 dragonica-trading
805 elsword-trading
722 eve-online-trading
808 final-fantasy-trading
581 fly-fun-trading
727 guild-wars-2-trading
494 guild-wars-trading
590 last-chaos-trading
470 metin2-trading
582 nostale-trading
743 perfect-world-trading
553 rappelz-trading
657 rift-trading
565 runescape-trading
677 shaiya-trading
371 silkroad-online-trading
694 star-wars-old-republic-trading
807 elder-scrolls-online-trading
782 wildstar-trading
369 world-warcraft-trading
802 other-online-games-trading
796 clash-clans-trading
759 fifa-trading
755 grand-theft-auto-trading
758 hearthstone-trading
788 heroes-storm-trading
642 league-legends-trading
659 minecraft-trading
815 smite-trading
803 world-tanks-trading
567 steam-trading
704 origin-trading
797 other-trading
698 artist-trading
729 coders-trading
798 crypto-currency-trading
795 web-host-server-trading
668 browsergames-trading
792 consoles-trading
712 freebies
606 middleman
634 shooter
616 all-points-bulletin
613 alliance-valiant-arms
631 battlefield
630 call-duty
686 call-duty-hacks-bots-cheats-exploits
446 combat-arms
572 combat-arms-hacks-bots-cheats-exploits
682 combat-arms-black-market
601 counter-strike
605 counter-strike-hacks-bots-cheats-exploits
791 counter-strike-black-market
529 crossfire
628 crossfire-hacks-bots-cheats-exploits
611 crossfire-black-market
720 dayz
739 dayz-black-market
284 gunz
733 infestation
740 infestation-black-market
329 planetside
775 rust
779 rust-server-advertising
777 rust-black-market
469 s4-league
518 s4-league-hacks-bots-cheats-exploits
643 s4-league-black-market
384 soldier-front
501 soldier-front-philippines
498 soldier-front-hacks-bots-cheats-exploits
679 team-fortress-2
332 warrock
609 warrock-guides-tutorials-modifications
491 warrock-hacks-bots-cheats-exploits
596 warrock-black-market
396 wolfteam
184 mmorpgs
574 4story
600 4story-hacks-bots-cheats-exploits
621 4story-black-market
514 12sky2
542 12sky2-hacks-bots-cheats-exploits
345 9dragons
570 9dragons-black-market
460 ace-online-airrivals
618 allods
338 archlord
561 archlord-black-market
573 atlantica-online
736 atlantica-online-black-market
778 aura-kingdom
612 battle-immortals
543 c9-continent-ninth
521 dragonica
530 dragonica-hacks-bots-cheats-exploits
651 dragonica-private-server
671 dragonica-black-market
457 dekaron
458 dekaron-exploits-hacks-bots-tools-macros
397 dekaron-private-server
535 dekaron-pserver-hacks-bots-cheats-exploits
559 dekaron-black-market
649 elsword
806 elsword-black-market
331 eudemons-online
352 eo-guides-templates
480 eo-weapon-armor-effects-interface-edits
353 eo-exploits-hacks-tools-macros
392 eo-pserver-hosting
640 eo-pserver-guides-releases
483 eve-online
723 eve-online-black-market
585 fantasy-tennis
711 fiesta-online
218 final-fantasy-xi
810 ffxi-black-market
222 ffxi-guides-templates
219 ffxi-exploits-hacks-bots-tools-macros
623 final-fantasy-xiv
811 ffxiv-black-market
482 florensia
663 forsaken-world
493 grand-chase
505 grand-chase-philippines
506 grand-chase-hacks-bots-cheats-exploits
229 guild-wars
484 gw-bot-discussions-questions
562 gw-black-market
327 gw-guides-templates
328 gw-exploits-hacks-bots-tools-macros
318 kal-online
472 kal-hacks-bots-cheats-exploits
520 last-chaos
696 last-chaos-private-server
591 last-chaos-black-market
235 lineage-2
236 lin2-guides-templates
237 lin2-exploits-hacks-bots-tools-macros
308 lin2-private-server
346 lord-rings-online
348 lotro-guides-templates
347 lotro-exploits-hacks-tools-macros
492 mabinogi
586 mabinogi-hacks-bots-cheats-exploits
647 maestia
313 maple-story
748 neverwinter
442 nostale
705 nostale-hacks-bots-cheats-exploits
584 nostale-black-market
389 perfect-world
452 pw-hacks-bots-cheats-exploits
744 pw-black-market
234 ragnarok-online
314 ro-guides-templates
296 ro-exploits-hacks-bots-guides
309 ro-bots-macros
306 ragnarok-online-pserver-hosting
395 rappelz
680 rappelz-private-server
563 rappelz-black-market
321 rf-online
411 rfo-hacks-bots-cheats-exploits-guides
653 rift
655 rift-guides-strategies
656 rift-hacks-bots-cheats-exploits
658 rift-black-market
419 rohan
360 runescape
662 runescape-private-server
566 runescape-black-market
478 shaiya
571 shaiya-hacks-bots-cheats-exploits
604 shaiya-private-server
645 shaiya-pserver-development
742 shaiya-pserver-guides-releases
646 shaiya-pserver-advertising
678 shaiya-black-market
709 tera
765 elder-scrolls-online
809 teso-black-market
683 vindictus
766 wildstar
783 wildstar-black-market
364 zero
198 other-online-games
752 cube-world
297 diablo-2
593 diablo-2-programming
734 dota
746 fifa
760 fifa-black-market
672 grand-theft-auto
756 gta-black-market
764 hearthstone
768 hearthstone-black-market
575 heroes-newerth
637 minecraft
661 minecraft-guides-strategies
692 minecraft-mods-textures-skins-maps
652 minecraft-server-advertising
660 minecraft-black-market
638 need-speed-world
754 nfsw-hacks-bots-cheats-exploits
745 path-exile
666 pokemon
619 starcraft-2
667 terraria
767 world-tanks
804 world-tanks-black-market
487 browsergames
599 facebook
772 dragon-city
654 darkorbit
732 seafight
669 browsergames-black-market
799 mobile-games
687 coders-den
325 general-coding
326 coding-tutorials
588 coding-releases
773 coding-snippets
730 coders-black-market
689 c-c
690 net-languages
813 java
500 autoit
691 web-development
688 artists-den
305 general-art
323 artist-tutorials
751 artist-showcase
629 artist-battles
699 artist-black-market
302 video-art
693 hardware
684 hardware-discussions-questions
685 hardware-reviews
201 off-topics
208 off-topic
207 polls
230 technical-support
271 tutorials
260 quotes
708 smartphones
747 sports
761 cooking
362 music
444 movies
489 anime-manga
319 oldschool
Wer Fehler in der Liste findet: Bitte melden! Dann muss der Regex angepasst werden...
Code dafür:
Code:
static int GetSectionID(string sectionName)
{
var source = string.Empty;
using (var client = new WebClient())
{
source = client.DownloadString("http://www.elitepvpers.com/forum/main/announcement-board-rules-signature-rules.html");
}
//File.WriteAllText("source.txt", source);
// Get Section dropdown source
string dropdown = Regex.Match(source, "<optgroup label=\"Forums\">(.+?)</optgroup>", RegexOptions.Singleline).Groups[1].Value;
// Get each option and save id and caption in groups
var matches = Regex.Matches(dropdown, @"<option value=""(\d+)"" class="".+?"">(.+?)</option>");
var sections = new Dictionary<string, int>();
int id = 0;
var caption = string.Empty;
foreach (Match match in matches)
{
id = Convert.ToInt32(match.Groups[1].Value);
// Remove stuff
caption = Regex.Replace(match.Groups[2].Value, "(&)|(^ )|(')|(( )+)", "");
caption = Regex.Replace(caption, @"(\bof\b)|(\bfor\b)|(\bthe\b)", "", RegexOptions.IgnoreCase);
caption = Regex.Replace(caption, "[^a-zA-Z0-9']+", "-");
caption = Regex.Replace(caption, "(-$)|(^-)", "");
caption = caption.ToLower();
sections.Add(caption, id);
//File.AppendAllText("sections.txt", string.Format("{0} {1}{2}", id, caption, Environment.NewLine));
}
int requestedSectionID = 0;
sections.TryGetValue(sectionName, out requestedSectionID);
return requestedSectionID;
}
Ich weiß, die RegExe sind nicht perfekt, sie funktionieren aber. Bin mir nicht sicher, ob die Klammern da hin müssen, habe sie aber mal drinne gelassen.
Damit ließe sich ein SectionThread nur mit Angabe der URL erstellen.
In der API natürlich etwas anders eingebaut, nach Möglichkeit mit Cache, aber ihr wisst, was ich meine...
|
|
|
04/12/2015, 14:31
|
#53
|
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
|
Danke für dein Snippet. Wir arbeiten eigentlich nicht mit regulären Ausdrücken aber eine Anpassung an einen HTML Parser sollte jetzt nicht das Problem sein.
Ich werde die Funktion mal in der Art einbringen.
€:
|
|
|
04/15/2015, 14:34
|
#54
|
elite*gold: 317
Join Date: Feb 2012
Posts: 2,089
Received Thanks: 882
|
Mal ne Frage: Wenn ich einen Treasure mit
Code:
var treasure = new Treasure("1 foo", "*foo 5 u*", 1337);
treasure.Create(session);
treasure.Update(session); // Exception
erstelle, wird das Treasure Objekt weder automatisch geupdatet noch kann es manuell geupdatet werden?
Wenn ich später den Update Call selbst durchführe, bekomme ich ne Exception, weil das Objekt keine ID zugewiesen bekommen hat. Ist natürlich nicht unbedingt praktisch...
Ich sehe ja schon, warum es nicht so einfach geht, da man ja auch, wenn man nen Treasure manuell erstellt, nur zurück auf die Übersicht und nicht zum Treasure selbst weitergeleitet wird.
Kann ich vll trotzdem eine Liste von allen erstellten/verkauften Treasures bekommen? Bin scheinbar einfach wieder zu blind, die Funktion zu finden, denn die Query Flags sind ja schon da^^
|
|
|
04/15/2015, 15:58
|
#55
|
elite*gold: 0
Join Date: May 2010
Posts: 6,853
Received Thanks: 5,106
|
Was mir gestern beim programmieren aufgefallen ist, ist das die Update Methoden void als Rückgabewert haben. Ich weiß nicht wie die anderen das sehen, aber ich würde vorschlagen, dass sie das this Objekt zurückgeben, damit man direkt mit der Punkt Notation auf dem Objekt weiter machen kann.
Ich hab ne Schleife, welche eine if Abfrage macht:
Code:
if(count < new SectionThread(t.Id, new Section(t.Section, t.ShortName)).ReplyCount)
//Do Something
ReplyCount ist nicht gesetzt, mit Update könnte man das dann wie folgt realisieren, wenn es eine Referenz auf this zurückgeben würde:
Code:
if(count < new SectionThread(t.Id, new Section(t.Section, t.ShortName)).Update().ReplyCount)
//Do Something
Es spart halt einfach Code, wenn man erst das SectionThread Objekt erstellen muss mit dem Update Call und dann erst die If Abfrage machen kann.
Eine Alternative Idee wäre, dass die Konstruktoren vielleicht auch ein Update ausführen. Ist allerdings die Frage, ob das wirklich immer gebraucht wird; vllt dafür ein bool im Konstruktor noch mitnehmen? Was haltet ihr davon?
|
|
|
04/15/2015, 16:43
|
#56
|
elite*gold: 0
Join Date: Apr 2010
Posts: 10,289
Received Thanks: 3,613
|
Das Objekt zurückzugeben halte ich für eher weniger sinnvoll, da so ein Update()-Call
auch mal schnell fehlschlagen kann.
Und dann stellt sich die Frage, was man dann zurück gibt.
@D3luxe.: Profile.cs -> GetTreasures
|
|
|
04/15/2015, 17:41
|
#57
|
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
|
Quote:
Originally Posted by D3luxe.
Ich sehe ja schon, warum es nicht so einfach geht, da man ja auch, wenn man nen Treasure manuell erstellt, nur zurück auf die Übersicht und nicht zum Treasure selbst weitergeleitet wird.
|
Kein wirkliches Hindernis. Dann schaut man sich einfach die Liste der Treasures an und nimmt die ID des neuesten. Kann ja jemand von euch übernehmen und anschließend einen PR erstellen.
Quote:
Originally Posted by Serraniel
Ich weiß nicht wie die anderen das sehen, aber ich würde vorschlagen, dass sie das this Objekt zurückgeben, damit man direkt mit der Punkt Notation auf dem Objekt weiter machen kann.
|
Verfehlt absolut den Sinn einer Klassenfunktion und ich persönlich sehe auch nicht wirklich den Bedarf, das so umzusetzen. Das System ist (so wie es jetzt ist) wirklich unhandlich aber da gibt es sicherlich bessere Alternativen (wie statische Methoden, Update im Konstruktor wie du bereits angesprochen hast und weiteres)
Wie auch immer, ich hätte jedenfalls gerne etwas konsistentes für dieses Problem weil das so ziemlich jede zweite Klasse in der Library betrifft.
|
|
|
04/15/2015, 17:50
|
#58
|
elite*gold: 0
Join Date: May 2010
Posts: 6,853
Received Thanks: 5,106
|
Kann ich absolut nachvollziehen. Ich denk da mal was drüber nach gleich und meld mich heute abend oder morgen mal bei dir in Skype.
|
|
|
05/07/2015, 10:01
|
#59
|
elite*gold: 368
Join Date: Apr 2015
Posts: 688
Received Thanks: 32
|
Quote:
Originally Posted by Mostey
Das System ist (so wie es jetzt ist) wirklich unhandlich aber da gibt es sicherlich bessere Alternativen (wie statische Methoden, Update im Konstruktor wie du bereits angesprochen hast und weiteres)
Wie auch immer, ich hätte jedenfalls gerne etwas konsistentes für dieses Problem weil das so ziemlich jede zweite Klasse in der Library betrifft.
|
Gibt es dies bezüglich schon Ideen?
|
|
|
05/07/2015, 13:41
|
#60
|
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
|
Quote:
Originally Posted by pvpDealer
Gibt es dies bezüglich schon Ideen?
|
Kam leider aufgrund von Zeitmangel nicht dazu. Von Serraniel kam leider nichts, daher ist das noch offen.
|
|
|
All times are GMT +1. The time now is 02:53.
|
|