Git Product home page Git Product logo

massim_2018's People

Contributors

cehberlin avatar niklasf avatar sarahd93 avatar t-ah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

massim_2018's Issues

Problem with EIS item(...) percept

Hi,

I am having an issue with the EIS item(...) percept.

XML:

<item name="item9" volume="6">
  <item>item1</item>
  <item>item7</item>
  <item>item6</item>
  <item>item0</item>
  <item>item4</item>
  <role>motorcycle</role>
  <role>truck</role>
</item>

IILang:

item(item9,6,roles([,]),parts([,,,,]))

The values seem to be lost in translation from XML to IILang...

Rem

Problem with monitor in Mac

Hi. I'm new in MASSIM. while I run the server in windows platform there is no problem but as I run the server in my mac system when I just use monitor option I get an error and couldn't find the solution why.
I use this command to run the server in terminal :

java -jar server-2017-0.7-jar-with-dependencies.jar --monitor 8000

and there will be no problem without monitor option.
this is the exact error:

java.lang.IllegalArgumentException: Malformed IPv6 address at index 8: http://[USER]:8000/
	at java.net.URI.create(URI.java:852)
	at org.webbitserver.netty.NettyWebServer.localUri(NettyWebServer.java:338)
	at org.webbitserver.netty.NettyWebServer.<init>(NettyWebServer.java:85)
	at org.webbitserver.netty.NettyWebServer.<init>(NettyWebServer.java:79)
	at org.webbitserver.netty.NettyWebServer.<init>(NettyWebServer.java:75)
	at org.webbitserver.WebServers.createWebServer(WebServers.java:19)
	at massim.monitor.Monitor.<init>(Monitor.java:56)
	at massim.Server.go(Server.java:181)
	at massim.Server.main(Server.java:135)
Caused by: java.net.URISyntaxException: Malformed IPv6 address at index 8: http://[USER]:8000/
	at java.net.URI$Parser.fail(URI.java:2848)
	at java.net.URI$Parser.parseIPv6Reference(URI.java:3469)
	at java.net.URI$Parser.parseServer(URI.java:3219)
	at java.net.URI$Parser.parseAuthority(URI.java:3155)
	at java.net.URI$Parser.parseHierarchical(URI.java:3097)
	at java.net.URI$Parser.parse(URI.java:3053)
	at java.net.URI.<init>(URI.java:588)
	at java.net.URI.create(URI.java:850)
	... 8 more

Problem starting EIS connection

Hi,

I am getting a class not found exception when I try to load the EIS environment, specifically:

Class "massim.javaagents.Main" could not be loaded from "eismassim-3.5-jar-with-dependencies.jar"

I'm just wondering whether I am doing something wrong (I am using EIS 0.5)

Thanks

Rem

EDIT: Just to add - I am using Eclipse and my own AOP language (ASTRA) to try to connect (everything works fine with MASSIM-2017-1.7)

NullPointerException at the end of QuickTest

Exception in thread "main" java.lang.NullPointerException
	at massim.AgentManager$AgentProxy.close(AgentManager.java:332)
	at massim.AgentManager$AgentProxy.access$500(AgentManager.java:134)
	at massim.AgentManager.lambda$stop$2(AgentManager.java:58)
	at java.util.HashMap$Values.forEach(HashMap.java:980)
	at massim.AgentManager.stop(AgentManager.java:58)
	at massim.Server.close(Server.java:127)
	at massim.Server.main(Server.java:119)

Just seen in the log. No crash.

EIS Types

Hi guys,

Thanks for the previous fix - we have been playing with the new server - it is very nice.

I just have one thought - I tried to use the EIS method for getting the type of an entity, but it returns "unknown". Is this deliberate, or would it be possible to return the type (e.g. "drone") as this would allow me to assign the correct agent program to each entity without needing to manually map id's to types...

Rem

Cost of goto?

Documentation states that a goto action " Consumes 10 charge units if successful. ":

https://github.com/agentcontest/massim/blob/massim-2018-1.2/docs/scenario.md#goto

However, the server configuration has an option gotoCost to set the cost, and all the example config files under conf have that option set to 1, not to 10.

If it is a config option in the server, it suggest the intention was to make this variable. However, there is no percept that will give the cost.

Am I missing something? Is the documentation wrong and should say 1? Or are the config files wrong and should all say 10?

Maven Central

Hi there,

Are there plans to publish the MASSim packages to Maven Central or the like? This will decrease the barrier of entry somewhat for accessing the MASSim libraries.

Cheers,
Matthew McNally

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.