Jump to content

Innos

Members
  • Posts

    62
  • Joined

  • Last visited

Everything posted by Innos

  1. Hi, bei mir gibt es für Spieler kein @go. Jedoch würde ich gerne 1 Town mit @go 0 zB freigeben ohne das die anderen Towns mit @go möglich sind. Gibt es da einen einfachen weg? Oder muss ich alle Towns aus der Source raus nehmen und nur die eine drin lassen?
  2. Take this, this are the Maps from the Script. More i haven't. house.grf
  3. Works perfectly, you are my hero. Thanks Emistry
  4. //=============================================================// // Daily Card for Online User // //==== Copyright ==============================================// // Innos '2017 for www.ex-RO.de // //==== Version ================================================// // V.1.0 - Testversion // //==== Infos ==================================================// // Special daily Event for Daily Card from 12a.m. to 10p.m. // //=============================================================// - script Daily Card -1,{ Onclock1125: Onclock1130: Onclock1135: Onclock1140: .onlineusers = getusers(1); announce "[Day Card] : "+.onlineusers+" Player online!",bc_all,0xFF6060; if(.onlineusers < 5) { announce "[Day Card] : Zu wenig Spieler Online für eine Auslosung!",bc_all,0xFF6060; } if(.onlineusers > 5) { announce "[Day Card] : Es wird eine Zahl von 1 bis 9 gewürfelt, liegt sie unter "+.onlineusers+" kommt es zur Auslosung!",bc_all,0xFF6060; set .dailynumber,rand (1,9); announce "[Day Card] : Die Zahl ist: "+.dailynumber+"!",bc_all,0xFF6060; if (.dailynumber < .onlineusers) { announce "Karte wird ausgespielt!",bc_all,0x81BEF7; query_sql "SELECT `account_id` FROM `char` WHERE `online` = '1' ORDER BY `account_id` ASC",.@aid; if(!.@aid){ end; } for(set .@i,0; .@i < getarraysize(.@aid); set .@i,.@i+1) { set .@total,.@i; } set .rand3,rand(.@total); for(set .@i,0; .@i < getarraysize(.@aid); set .@i,.@i+1) { if (attachrid(.@aid[.rand3])) { getitem 501,1; } } //why the users get the item value from usersonline count? they should only get one item -.- announce "TEST TEST TEST KEIN GEWINN//Der Gewinner der Day Card "+.@daycard$+" ist "+rid2name(.@aid[.rand3])+"! Gratulation!",bc_all; // query_sql ("INSERT INTO `daily_card` (time_created,nameid,item_name,account_id,char_name) VALUES (NOW(), '"+.items+"', '"+.@daycard$+"', '"+.rand3+"', '"+rid2name(.@aid[.rand3])+"')"); end; }else{ announce "Karte wird leider nicht ausgespielt!",bc_all,0x81BEF7; end; } } //OnInit: // if (gettime(4)==0){ set .items,501; set .@daycard$, "Sonntag"; } // if (gettime(4)==1){ set .items,501; set .@daycard$, "Montag"; } // if (gettime(4)==2){ set .items,501; set .@daycard$, "Dienstag"; } // if (gettime(4)==3){ set .items,501; set .@daycard$, "Mittwoch"; } // if (gettime(4)==4){ set .items,501; set .@daycard$, "Donnerstag"; } // if (gettime(4)==5){ set .items,501; set .@daycard$, "Freitag"; } // if (gettime(4)==6){ set .items,501; set .@daycard$, "Samstag"; } // end; } //SQL for Log /* DROP TABLE IF EXISTS `daily_card`; CREATE TABLE IF NOT EXISTS `daily_card` ( `time_created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `nameid` INT(11) UNSIGNED NOT NULL DEFAULT '0', `item_name` VARCHAR(45) NOT NULL DEFAULT '', `account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0', `char_name` VARCHAR(45) NOT NULL DEFAULT '', PRIMARY KEY (`time_created`) ) ENGINE=MYISAM; query_sql ("INSERT INTO `daily_card` (time_created,nameid,item_name,account_id,char_name) VALUES ('NOW(), "+.@reward+", '"+@daycard$+"', '0', '0')"); */ //=============================================================================== I have a problem with my script. The Online User who wins becomes more than 1 Item. Why? I want that the User become only 1. In this Test it's a Red Potion. The Winner becomes so many Red Potion are Users Online. If 10 Users online he becomes 10. This Script should a simple Roulette. At a Full Hour he dice, if the Dice under the Online Count a random Online User becomes a Item. Very Simple. But it don't work correctly. What's my failure? ignore the SQL entry's, this only log for later.
  5. I have an Old Script from 2009, don't know you can need it. It's translated to German and i mean its very Out of Date. house.rar
  6. oh, no. you see the Update Server with the paket edit. The Life server i don't have edits the pakets. only pakets.h i use visual studio 2017 the rA git is from 29.10.17
  7. OK i have changed back to #ifndef PACKETVER #define PACKETVER 20170517 #endif #ifndef PACKETVER_RE /// From this point on only kRO RE clients are supported #if PACKETVER > 20151104 #define PACKETVER_RE #endif #endif ========== Alles neu erstellen: 9 erfolgreich, 0 fehlerhaft, 0 übersprungen ========== but the red marked entry with no declaration are the same. The exe works, but i mean its not really right what im doing.
  8. I think so many reds are not okay, or? Have i made a misconf? Server with the new exe runs not good but okay, we can play with here.
  9. Hi, it is possible for an Admin to Send a Rodex Mail to all Player?
  10. Sorry hendra814, i mean this not for your stuck Problem, i thinked the problem solved for player, and my post was the answer of his first picture. Not really seriously.
  11. It's a Feature, not a Bug. You need only more imaginaton. Now the Novice starts as survivor, the Boot is capsized on the rough lake. You are alone and hungry, all arround only water. You must swim or die. *jokeoff*
  12. Okay, danke für die ausführliche Aufklärung. Wieder etwas schlauer geworden heute
  13. 'MissingEmblemBMP' => 'empty.bmp', 'ForceEmptyEmblem' => false, 'EmblemCacheInterval' => 0, 'SessionCookieExpire' => 48, 'GzipCompressOutput' => false, 'GzipCompressionLevel' => 9, 'OutputCleanHTML' => true, 'UseCleanUrls' => false, 'DebugMode' => false, 'UseCaptcha' => false, // temporary disabled 'EnableReCaptcha' => false, 'DisplaySinglePages' => true, There's the config from application.php OutputcleanHTML i have set to true. @BTNX No, i hope it's only a bad configured Flux or wrong Permission. The Problem comes befor i upgrade my ph version. But a reinstall from php-gd i can try in few days. I used Flux and Pictures works fine on php 5.6 -> I change the path from flux. from de folder to main folder http 'ServerAddress' => 'mydomain.de', // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80) 'BaseURI' => '/de', to 'BaseURI' => '', I set the permission for the folder. Have update the flux with turtoise from github. After this all i see see the page runs good, only the emblem and captcha images don't show. 2 days later i upgrade my PHP from 5 to 7. All works fine, little bit faster, only the problem with the emblems remained. So i mean, the problem started before upgrade the php. only the changes from the path and update from fluxcp was in the time.
  14. Hi, i don't know what i have done wrong. Since few Days my Flux don't show the Emblems and my Captcha. Before it's works perfectly. Today i have Change my PHP from 5.6 to 7.1, but my Problems are not gone. I have at both, Captcha and Guild Emblems a broken picture. Have i set wrong permissions? Fast CGI Prob or zlib? I think i need your professional help again. Thanks in advance.
  15. Klare Antwort, kannte ich nicht, bis zu deinem Posting. Von daher schon einmal danke für den Tipp. Werde mich im Laufe der restlichen Woche direkt mal kundig machen. Hätte nicht gedacht das es SSL auch gratis gibt. Da dies ja scheinbar ein rentabler Markt für einige Firmen/Hoster zu sein scheint. Lg
  16. I used actually the 2015-11-04, its really stable. But i have Problems with the Rebell Classes. Should i better use the 2016-02-05aRagexeRE or a newer Client with zacks REtranslated? Or is the 2015 at the moment the best?
  17. Oh ja. Das SSL Problem. Ich steig da einfach nicht dahinter, auch nach vielen Erklärungen und Guides immer noch kein Durchblick, auch wenn der Hoster ein Zertifikat bereit stellt greift es nicht auf der Domain. Denke da werde ich mir noch professionelle Hilfe holen bis ende des Jahres um das zu fixen.
  18. Great, than i hope the Future is near for a weekly chnages and fully configurable Add WoE time settings. Than i'm a new buyer.
  19. with change to works perfectly. Thanks for your help!
  20. With all Data you mean all investments? Strengh Guardians and other Guild Information? It's possible to set weekly random? And deactivate last active castle from random list? So the Player have every Week another Castle?
  21. Can everyone help me for my Script. I have Problems with set .@itemname$, getitemname( atoi( .@risk_price ) ); mes " ~ "+.@itemname$+""; give me not the right Item Name after the second try. And i mean the answer is not the right item id in the array, it's only the first id.
  22. Oh okay. than it's all fine? Yeah a little bit bothers me. But the marked says only changes, not a error, than all fine. I am a little perfectionist, i hate red flagged thinks Thanks lemon.
  23. Hi, i have clone a new git with tortoise. All clean. After i compile without source modifikation, my src Folder looks so. it's normaly or do i everthing wrong? Without upgrade i become many errors and can't compile.
×
×
  • Create New...