-
Posts
249 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Jey
-
Mh... vlt. Ports nicht geöffnet/forwarded? Was sagt denn dein Client?
-
Hi! Ehm... Bei mir in der packet_db ist die 2012-04-10er .exe packet_ver 30. (Siehe rathena svn packet_db.txt: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/packet_db.txt) Als Info: Man ändert die Warte von "packet_ver" normalerweise nicht. Man legt lediglich die "packet_db_ver" (weiter oben) fest. Die Clientinfo muss dann natürlich auch auf version 30 gesetzt werden. Btw: Was spuckt der Server eigentlich aus?
-
You're welcome
-
Did you select the hard game mode? If yes, there is no case in the secound switch (TODO comment). Try to select easy.
-
Sure! I tested it with something like the following (Only the easy one works, but I think you can easily add the other two). I hope this will help you ^^ #include <iostream> using namespace std; int main() { int a,b,c,d; string answer; bool isCorrect=false; cout << "Welcome To Word Fruit Hunt!\n"; cout << "Please Choose you Game Mode "; cout<< "Just Type\n 1 for Easy\n 2 for Medium\n 3 for Hard\n"; cout << "Type Here: "; cin >> a; switch(a) { case 1: //Easy cout << "A X O B\nP Z ? C\n? D A N\nL O N D\nE Q G O\nI W ? T\n"; break; case 2: //Medium cout << " P I N E T L\n D A N G E R\n M A P M O R\n S C O A D E\n Q N R Z Y P\n A U S T I A\n"; break; case 3: //Hard cout << "A B E M G J L S D\nG R A P E S K P R\nC D F I H L Q N O\nU Z O L E M O P F\nX W B Z Y V U N T"; break; default: return -1; } //User Input (answer) cin >> answer; switch(a) { case 1: //Easy if( answer.compare("APPLE") == 0 || answer.compare("ORANGE") == 0 ) isCorrect = true; break; case 2: //TODO Medium string comparison break; //TODO Hard case } if( isCorrect ) cout << "Right!"; else cout << "Wrong!"; return 0; }
-
Hi, you can do something like this: string answer; //... cin >> answer; if( a==1 && (answer.compare("APPLE") == 0 || answer.compare("ORANGE") == 0) ) cout << "Right!"; else cout << "Wrong!"; Notice, that the compare-function works casesensitive, so you need to upper every char in "answer" or find a comparenocase function. By the way you can use switch for integer values: switch(a) { case 1: cout << "A X O B\nP Z ? C\n? D A N\nL O N D\nE Q G O\nI W ? T\n"; break; case 2: cout << " P I N E T L\n D A N G E R\n M A P M O R\n S C O A D E\n Q N R Z Y P\n A U S T I A\n"; break; case 3: cout << "A B E M G J L S D\nG R A P E S K P R\nC D F I H L Q N O\nU Z O L E M O P F\nX W B Z Y V U N T"; break; } Just looks better
-
Hallo oo Mich würde einfach mal interessieren, was für euch einen Ragnarok Server besonders (spielbar) macht? Warum würdet ihr joinen, warum leaven, etc. etc. Für mich ist folgendes Wichtig: - Gesicherter Server (Stabilität, Finanzen müssen geregelt sein, Datenbanksicherungen, Regelmäßige Prüfung ob Bugs abused/gehackt wurde) - Kaum (am besten keine) Bugs - Ein guter Spielfluss beim Leveln - Nicht übermäßig viele Neuerung, die eigentlich total müllig sind - Kein großer Eingriff in den Spielfluss durch Custom/Bonus Items oder Events - Keine Wings - Balanced PvP/WoE - Aktives WoE (Mit mehr als 10 Spielern in einem Castle) - Aktives, professionelles, stabiles, kommunikatives Team - Transparenz: Woran wird gearbeitet? Was wird geplant? Was ist neu? - Regelmäßige Events (Durch NPCs/Event GMs) Würde mich freuen, wenn ihr die Leiste erweitern/kommentieren würdet! Danke, Jey