Giter VIP home page Giter VIP logo

louces's People

Contributors

rbraband avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

louces's Issues

new loader

Implement autoloader pattern

Implement a pattern that match following bulletpoints

  • use SPL_autoload
  • use SPL_autoload_register

new i18n

Implement translation with gettext

Implement a i18n class that match following bulletpoints

  • on the fly changes
  • read/update values from chat as command
    /w BOT get/seti18n LANG value newvalue
  • store values for extensions in seperate mo files
  • change is permanent
  • prevent changes on update
  • simple and clear

new configuration

Implement configuration pattern

Implement a pattern that match following bulletpoints

  • on the fly changes
  • read/update values from chat as command
    /w BOT get/setConfig value newvalue
  • store values for extensions
  • change is permanent
  • prevent changes on update

new pChart

Implement submodule pChart

Implement the new submodule with following bulletpoints

  • use OO
  • use PHP 5

World.php line 240

Seems to generate a lot of errors on update
if (!$zadd = $redis->ZADD("{$city_key}:stats", $str_time, $cstats)) {
$bot->log("Redis zadd error: {$city_key}@{$str_time}|{$cstats}");

example of error:
[26/09 @ 15:01:20]Redis zadd error: city:1769603@1348635679|City of the3BePb|0|1 |204|4866|7507
[26/09 @ 15:01:20]Redis zadd error: city:1835140@1348635679|Hydrogen|0|0|204|486 6|5106
[26/09 @ 15:01:20]Redis update user lou:user:4866 with 4 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:1704062@1348635679|Philly|0|1|22|4922|5 109
[26/09 @ 15:01:20]Redis zadd error: city:1507459@1348635679|Bangor|0|0|22|4922|1 64
[26/09 @ 15:01:20]Redis zadd error: city:1441920@1348635679|Baltimore|1|0|22|492 2|3315
[26/09 @ 15:01:20]Redis update user lou:user:4922 with 4 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:2425006@1348635679|Whilley 3|0|1|0|4789 |2306
[26/09 @ 15:01:20]Redis zadd error: city:2621610@1348635679|City of Whilley|0|0| 0|4789|7587
[26/09 @ 15:01:20]Redis zadd error: city:2293933@1348635679|Whilley 2|0|1|0|4789 |501
[26/09 @ 15:01:20]Redis zadd error: city:2818218@1348635679|Whilley 1|0|1|0|4789 |2751
[26/09 @ 15:01:20]Redis update user lou:user:4789 with 4 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:2097285@1348635679|City of JennaSue|0|0 |0|4923|11017
[26/09 @ 15:01:20]Redis update user lou:user:4923 with 2 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:852109@1348635679|Rebel_Souls|0|1|17|14 14|10162
[26/09 @ 15:01:20]Redis update user lou:user:1414 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:2162824@1348635679|11 Neutra|0|1|22|532 3|7353
[26/09 @ 15:01:20]Redis update user lou:user:5323 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:2949252@1348635679|City of zmeny|0|0|55 8|4906|6386
[26/09 @ 15:01:20]Redis zadd error: city:2097291@1348635679|zmeny2|0|1|558|4906| 510
[26/09 @ 15:01:20]Redis update user lou:user:4906 with 2 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:393368@1348635679|Batavia|1|1|333|4798| 64
[26/09 @ 15:01:20]Redis zadd error: city:458903@1348635679|Bekasi|0|1|333|4798|1 017
[26/09 @ 15:01:20]Redis zadd error: city:458904@1348635679|Bogor|0|1|333|4798|15 49
[26/09 @ 15:01:20]Redis zadd error: city:327831@1348635679|Cibinong|0|1|333|4798 |151
[26/09 @ 15:01:20]Redis zadd error: city:655512@1348635679|Bandung|0|1|333|4798| 2016
[26/09 @ 15:01:20]Redis zadd error: city:327832@1348635679|Karawang|1|1|333|4798 |1776
[26/09 @ 15:01:20]Redis zadd error: city:458905@1348635679|Ciawi|0|0|333|4798|20 2
[26/09 @ 15:01:20]Redis update user lou:user:4798 with 7 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:589968@1348635679|City of walihtr|0|1|0 |4845|4405
[26/09 @ 15:01:20]Redis zadd error: city:786577@1348635679|Muskie|0|0|0|4845|149 1
[26/09 @ 15:01:20]Redis zadd error: city:786579@1348635679|Bass|0|0|0|4845|496
[26/09 @ 15:01:20]Redis update user lou:user:4845 with 3 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:2228364@1348635679|leartorna|0|0|0|4920 |461
[26/09 @ 15:01:20]Redis zadd error: city:2359438@1348635679|raines doer|0|1|0|49 20|349
[26/09 @ 15:01:20]Redis zadd error: city:2359443@1348635679|melaicore|0|1|0|4920 |3975
[26/09 @ 15:01:20]Redis zadd error: city:2228369@1348635679|xaloran|0|1|0|4920|1 299
[26/09 @ 15:01:20]Redis update user lou:user:4920 with 4 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:1573004@1348635679|Jackdom|0|1|46|4797| 3500
[26/09 @ 15:01:20]Redis zadd error: city:1441931@1348635679|Saxon|0|0|46|4797|22 60
[26/09 @ 15:01:20]Redis update user lou:user:4797 with 2 cities on K2
[26/09 @ 15:01:20]Redis update user lou:user:5457 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:1572997@1348635679|City Harbour|1|1|0|4 869|4398
[26/09 @ 15:01:20]Redis update user lou:user:4869 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:2162843@1348635679|City of IamPrinces|1 |1|729|4964|3262
[26/09 @ 15:01:20]Redis update user lou:user:4964 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:3211404@1348635679|Reckless|0|0|2|4884| 2998
[26/09 @ 15:01:20]Redis update user lou:user:4884 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:2752641@1348635679|Fort Beehive|0|1|0|4 934|2255
[26/09 @ 15:01:20]Redis update user lou:user:4934 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:2097318@1348635679|Mataram|0|1|333|4840 |2213
[26/09 @ 15:01:20]Redis update user lou:user:4840 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:2621588@1348635679|Demak|0|0|333|4897|1 939
[26/09 @ 15:01:20]Redis update user lou:user:4897 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:786584@1348635679|Patropolia|0|1|329|47 56|546
[26/09 @ 15:01:20]Redis zadd error: city:721044@1348635679|Patropolis|0|0|329|47 56|1386
[26/09 @ 15:01:20]Redis update user lou:user:4756 with 2 cities on K2
[26/09 @ 15:01:20]Redis update user lou:user:5907 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:1376403@1348635679|Merda|1|0|374|4762|1 267
[26/09 @ 15:01:20]Redis update user lou:user:4762 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:2424959@1348635679|vampire city|0|1|0|4 994|1234
[26/09 @ 15:01:20]Redis update user lou:user:4994 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:1179784@1348635679|Next City|0|1|22|317 0|1187
[26/09 @ 15:01:20]Redis update user lou:user:3170 with 1 cities on K2
[26/09 @ 15:01:20]Redis zadd error: city:655511@1348635679|Cianjur|0|1|333|5243| 379
[26/09 @ 15:01:20]Redis update user lou:user:5243 with 1 cities on K2
[26/09 @ 15:01:21]LoU get stat for 48 residents on K2
[26/09 @ 15:01:21]Redis update: lou:continent:2:military

attacks php

Hi, I'm authoring a vb.net json analyzer of HAR dump files from lou.
I'm using some of your ideas, but I cannot understand the conversion of
get_step_time, is this value also in ticks from 1970 like the others?

re:

'state' => Lou::prepare_attack_state($att['s']),
'eta' => $this->get_step_time($att['es']), // estimated time of arival
'ete' => $this->get_step_time($att['es'] - time()) // estimated time enroute

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.