Posts by Sandboxgamer

    English:

    Hello everyone,


    I know that the old iConomy and the old AktiveSign are not stable. So I will rewrite both.


    I've been in the process of re-writing it for weeks.

    iConomy is almost ready. New API and much more stable than the old one.


    I ask for patience. If there is a new version, the download links will also be updated.


    GERMAN:

    Hallo alle Zusammen,


    ich weiß, dass das alte iConomy und das alte AktiveSign nicht stabil läuft. Deswegen werde ich beide neu schreiben.


    Ich bin schon seit Wochen dabei, es neu zu scheiben.

    iConomy ist fast fertig. Neue API und wesendlich stabieler als das alte.


    Ich bitte um Gedult. Wenn es eine neue Version gibt, werden auch die Download-Links aktualisier

    Hallo red51 ,


    kannst du uns evtl. einen kleinen Überblick verschaffen, wie es mit der API vorran geht? Es wäre echt schön, wenn mit (oder spätestens nach) der Weltengenerierung zumindest ein erster Ansatz da wäre. Es muss ja nicht gleich alles vorhanden sein (war in der Java-Version auch nicht).


    Sorry, wenn ich langsamm ungedulig werde, aber ich glaube, nicht nur ich warten jetzt schon sehr Lange drauf (in 2 Monaten 2,5 Jahre). ;)

    Hallo alle Zusammen,


    hier ein neues Plugin für euch. Mit dem ConfigManager kann man ganz leicht eine "Config" erstellen. Es ist auch eine Update-Funktion integriert. Der ConfigManager erkennt, ob die Config aktualisiert werden muss.

    • Neue Einstellungen werden hinzugefügt
    • Gelöschte Einstellungen werden gelöscht
    • Bleibende Einstellungen werden übernommen. (Einstellungen gehen nicht verlohren)
    • Properties werden automatisch dem Plugin angepasst
    • Einstellungen können über API geändert werden. Diese werden auch sofort im Spiel und in der Properties übernommen, ohne Serverneustart

    Installation ist wie bei jedem normalen Plugin auch.


    Ein Beispiel und das Ergebnis findet ihr hier.

    Output:

    .properties: Settings.properties
    # ExamplePlugin-Config
    # Example for Integer
    IntegerExample=0
    # Example for Boolean
    BooleanExample=true
    # Example for String
    StringExample=That is an String

    Wenn jemand Hilfe brauch, hab ich mein Ohr immer offen. :D

    Dieses Plugin wird es auch für die Unity-Version geben!


    Hotfix 1.0.1

    • [Neu|New] Javadoc hinzugefügt | Add Javadoc
    • [Behoben|Fix] Bug in Methode behoben | Fix a bug in a method

    Update 1.0.2

    Files

    • ConfigManager.jar

      (32.95 kB, downloaded 333 times, last: )
    • javadoc.zip

      (36.92 kB, downloaded 348 times, last: )

    Hallo red51 ,

    Es wäre gut, wenn es in der Spieler-Tabelle der WordDB auch:

    - MaxStermina (Start: 100)

    - MaxHunger (Start: 100)

    - MaxThirst (Start: 100)

    - MaxLive (Start: 100)


    So kann man z. B. ein Skill-Plugin schreiben.


    Beim Start sind es immer 100 Punkte.

    Mit dem Plugin kan man das Max dann nach oben stellen. Dann sind z. B. 110 Punkte = 100 %.


    So dauert es länger, bis man z. B. getötet werden kann.

    Hi red51 ,

    tolles Update. Freue mich bereits auf das Welten Update.

    Ich habe auf diese Steinwüste keine Lust mehr und bin mit sicher, das dieses Update auf jeden fall Abwechselung in das Spiel bringen wird.

    Noch mal vielen Dank an das ganze Team für das tolle Update.

    red51 : Danke für deine Antwort. Wie kann man ein byte[] in eine Datenbank speichern?


    yahwho : Thank you, too, for your answer. English is not a problem for me. ;)

    I know that you can save each statement individually in the database, including details.


    The only thing I have to worry about is the amount that is then written to the database. So that there is not so much communication with the database, everything is saved in variables when the server is started. All calculations are then made there. When a period of time has passed, or a player leaves the server, or the server shuts down, the database will be updated with the variables.

    It's just easier to overwrite a blob than it is to go through a list.


    Let's get back to the crowd:


    Let's assume there are around 30 people playing on the server. Every time a player wants to deposit or withdraw something from the bank, a statement is created so that one can later see what happened at the bank with one command. It can happen that a player is offline. This player offers something for sale on the server. He connected his shop to the bank. Later, when we are back online, the player wants to know if he has sold something. He can now look up this in the statement. This player doesn't just sell one object, but maybe 30. And of these 30 objects, he made stacks of 10, which are all sold individually. 30 x 10 = 300. This means that 300 bank transactions can take place in this shop.


    Unfortunately it's not just one player on the server, but 30. Anyone from then could open a shop.

    Now if everyone sells 300 items, that's: 300 x 30 = 9,000 bank transactions.

    So that's 9,000 statements.


    But now there is the greatest of all:

    What if everyone has now paid not with cash but with the bank?


    Then I have to double everything again, there is a statement for paying out and a statement for paying in.


    That is then 18,000 statements. etc. :dizzy:

    And that, if things go wrong, everything could happen in one day.


    That's why I chose Blob. I can tell an ArrayList that it should only display the last 50 statements.

    I don't have to compare what is already in the list and what is new with the list in the database.

    It is simply overwritten.

    Hi red51 ,


    wird in der neuen API auch das Unterstütz?


    Das speichert eine String-Liste als Blob in eine Datenbank.


    Oder gibt es da eine bessere Lösung? :thinking:

    Hallo red51 ,


    ich versuche gerade ein eignes Event zu schreiben, das man auch Abbrechen kann.

    Nun weiß ich aber nicht, wo man nun abfragt, das das Event Abgebrochen ist, da du ja mal gesagt hast, dass Event, sobald sie abgearbeitet worden sind, verschwinden.


    Ich bin gerade dabei iConomy für Untiy neu zu schreiben.

    Mit folgender Methode soll einem Spieler das Cash geändert werden und dabei ein benutzerdefiniertes Event ausgeführt werden:


    Das ist das Event:

    Hallo alle Zusammen,

    Hallo red51 ,


    ich habe mit NetBeans ein Problem.

    Ich finde die Einstellung für das Automatische einrücken nicht.


    Normalerweise, wenn ich auf die ENTER-Taste drücke, wird die neue Zeile automatisch eingerückt, so das es wieder ein Block ergibt.

    Seit ich das Programm mal neu installieren musste, springt der Cursor immer bis ganz nach vorne. Ich muss also manuell mit der TAB-Taste einrücken.


    Gibt es irgendwo eine Einstellung, die die automatische Einrückung wieder aktiviert? Es wäre sehr gut, wenn ich die englische Bezeichnung bekomme, da NetBeans auf Englisch ist.


    P.S. Ich wünsche euch allen ein guten und gesunden Rutsch ins neue Jahr

    Hi red51 , nun wir das Kind in mir wieder wach. :D:lol:


    Es wäre super, wenn Schnee gefallen ist, dass man dann auch einen Schneemann bauen kann.


    Was auch noch schön wäre, wäre eine Schneeballschlacht. Schnee vom Boden aufheben und zum Ball machen und werfen können.