« first day (23 days earlier)      last day (3539 days later) » 

1:00 PM
@Duga the complete deepness of all knowledge that can be found when asking you the right questions
 
@Duga What exactly do you copy after mvn package to where?
 
@Duga well 1-2 weeks would be phenomenally fast, so who could possibly complain. Have you been looking at some of the Lua I have done? I believe it would be very easy to get players to generate scripts that could be used as cards with just one line. It would require a large script file full of small functions, and it would pick which ones and put it all together
 
@bazola that thing that got migrated to programmers?
 
yeah
 
@skiwi copy the .war file in the target/ directory to C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps (or whatever)
 
1:01 PM
meta-programming is too high for me..
 
@Vogel612 I think you're confusing me with Watson.
 
what is meta programming
 
program a program that can program a program
so you're programming a programming program
 
I do work, build with maven pom!
 
hehe :)
 
1:03 PM
@TCGChatBot It's built ;)
 
@Duga It just works here
@Vogel612 Can't edit :(
 
d'aww..
 
What tomcat re you running @Duga
 
@bazola I can't make much promises about how that client would be though. It's probably not well designed and stuff... perhaps just console, but supporting a simple test game and some basic network connection shouldn't be too hard.
@bazola I have looked at your Lua stuff but not sure how it works / would be used. Looks nice though
 
25-Aug-2014 15:01:53.321 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache-tomcat-8.0.9\webapps\GithubHookSEChatService-1.0.0-BUILD-SNAPSHOT has finished in 2,148 ms
25-Aug-2014 15:01:53.910 INFO [Thread-5] com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot.lambda$new$0 Request to /account/login
25-Aug-2014 15:01:54.214 INFO [Thread-5] com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot.lambda$new$0 Request to /account/login/submit
that's the openid login
 
1:05 PM
@skiwi Latest. State of the art. 8.0.x something
 
@Duga One more important thing
25-Aug-2014 15:01:55.205 INFO [Thread-5] com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot$1.getRedirect Redirecting to https://openid.stackexchange.com/openid/provider?openid.claimed_id=http%3A%2F%2F‌​spe...
Are you getting some sort of message like that?
(Truncated for reasons)
 
INFO: Request to /users/login
aug 25, 2014 1:51:44 EM com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot lambda$0
INFO: Request to /users/authenticate
aug 25, 2014 1:51:44 EM com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot$1 getRedirect
INFO: Redirecting to https://openid.stackexchange.com/openid/provider?openid.claimed_id=http%3A%2xxxxxxxxxxxxxnt.alias4=1
aug 25, 2014 1:51:45 EM com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot lambda$0
INFO: Request to /openid/provider?opxxxxxxxxnt.alias4=1
 
Other excerpt:
 
Yes, I am getting a message like that
 
25-Aug-2014 15:01:56.701 INFO [Thread-5] com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot.loginRoot Root login attempted.
25-Aug-2014 15:01:56.702 INFO [Thread-5] com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot.lambda$new$0 Request to /users/chat-login
25-Aug-2014 15:01:57.056 INFO [Thread-5] com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot.lambda$new$0 Request to /login/global-fallback
25-Aug-2014 15:01:57.697 INFO [Thread-5] com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot$1.getRedirect Redirecting to chat.stackexchange.com
where does it die for you?
 
1:08 PM
I don't get to the /login/global-fallback, I get redirected on /users/chat-login
Hmmm... perhaps it's the first part that's not working
 
@Duga I will be building a small prototype that should demonstrate what I am thinking. I realize it is tangential to the main project, but I cannot code java so I am not confident about working on that. The basic idea is that the Java would send a command (like the one it is sending to start.lua) that would take the parameters required to create a card, and it would generate a Lua script which would contain all the code for that card
so someone trying to build a mod would only have to build a script that contained the functions that they wanted to add, and then they could run the command to actually create the new cards without having to code them from scratch
 
@bazola Ah, alright. So it could be for the player-suggesting/building-card-mechanism?
 
@Duga Do you get 25-Aug-2014 15:01:56.700 INFO [Thread-5] com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot.loginRoot Hot Questions - Stack Exchange?
 
possibly that would be the primary function. do you know yet how you are going to use java to compose cards? a central repository of functions that are called at the Game level or?
 
INFO: Request to /account/login
INFO: Request to /account/login/submit
INFO: Redirecting to openid.stackexchange.com/user
INFO: Request to /user
INFO: User - zomisforsberg@gmail.com
INFO: OpenID login attempted.
INFO: Request to /users/login
INFO: Request to /users/authenticate
INFO: Redirecting to openid.stackexchange.com/openid/…
INFO: Request to /openid/provider?opxxxxxxxxnt.alias4=1
INFO: Redirecting to openid.stackexchange.com/account/…
@bazola Aren't the cards supposed to be composed from Lua? What do you mean by using Java to compose cards? Is it for a general mod or for the player-card-creation?
@skiwi I don't think I'm logged in to SE properly
 
1:16 PM
@Duga INFO: stackexchange.com wants you to log in I am not getting that
did you create a SE account?
with your OpenID
 
what i mean is that right now the game happens by calls from Java to the Lua, and the Java is actually building the Lua "behind the scenes", so I was wondering if you already knew in your code how to put different functions and things together to represent a card on the field in a live game
 
@skiwi yes
@bazola I'm not sure Java is actually building the Lua is the correct description of it. I have embedded a pure .lua file inside the project and it is calling that
 
Do you get these? 25-Aug-2014 15:01:55.949 INFO [Thread-5] com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot.lambda$new$0 Request to /users/authenticate/
 
what i mean by building the lua is that it is creating new tables with java code
 
1:28 PM
13 mins ago, by Duga
INFO: Request to /account/login
INFO: Request to /account/login/submit
INFO: Redirecting to https://openid.stackexchange.com/user
INFO: Request to /user
INFO: User - zomisforsberg@gmail.com
INFO: OpenID login attempted.
INFO: Request to /users/login
INFO: Request to /users/authenticate
INFO: Redirecting to https://openid.stackexchange.com/openid/provider?openid.claimed_id=http%3A%2xxxxxxxxxxxxxnt.alias4=1
INFO: Request to /openid/provider?opxxxxxxxxnt.alias4=1
INFO: Redirecting to https://openid.stackexchange.com/account/prompt?session=f403ed61-3f1d-44ca-87d6-59df6bae7cd3
Yes, I do get that
@bazola Yes, the tables are created with Java code but initialized with Lua code.
 
@Duga I meant these:
25-Aug-2014 15:01:55.949 INFO [Thread-5] com.skiwi.githubhooksechatservice.chatbot.StackExchangeChatBot.lambda$new$0 Request to /users/authenticate/?s=c7b17662-2f6a-4158-bf9a-97636f691
Truncated to early
You only get two openid redirects?
 
@skiwi Nope, that I do not get
 
@Duga That's not good
 
INFO: User - zomisforsberg@gmail.com
INFO: OpenID login attempted.
INFO: Request to /users/login
INFO: Request to /users/authenticate
INFO: Redirecting to openid.stackexchange.com/openid/…
INFO: Request to /openid/provider?opxxxxxxxxnt.alias4=1
INFO: Redirecting to openid.stackexchange.com/account/…
INFO: Request to /account/prompt?session=f40xxxxxxxxxbae7cd3
INFO: stackexchange.com wants you to log in
 
You truncated those OpenID requests yourself, right?
 
1:31 PM
yup
all the xxxxxxxx is truncation
 
you are not getting logged in
 
But somehow I can login to OPenID apparently
 
Repeat me, writing steps:
1. Go to stackexchange.com
2. Log in with stack exchange
3. Fill in OpenID credentials
4. you're logged in to stackexchange.com
Do you see your name in the topbar then?
 
Monking!
 
Hey @Duga
was that you or the bot?
Also I see that you replaced org.codehaus with fasterxml.jackson or something similar
 
1:40 PM
@skiwi I am a bot
 
@Duga Sigh...
 
@skiwi That solved it.
@skiwi Yes, I think you were using an older version of Jackson
 
@SimonAndréForsberg You mean, it is working now?
What's the URL then?
 
Hold on, I'll deploy it to my public server
 
Okay
Tell me once you've killed your own server set it up @SimonAndréForsberg
 
2:01 PM
Working on it
 
2:16 PM
@SimonAndréForsberg Once you're done with that, I'd like to know the steps how you solved it, as I see I need a tutorial for that as well
 
ÿÿÿÿÿÿÿÿÿÿÿþÿÿÿþ
 
@TCGChatBot wtf?
 
in Room for skiwi and TCG ChatBot, 37 secs ago, by Simon André Forsberg
Woops, wrong room
 
All your urls belong to me now...
 
2:19 PM
All your URLs are belong to us
 
test
 
test
 
Bot fight!
Now I just need to figure out why I can't access my server externally
 
o_O?
 
@SimonAndréForsberg Why can't you?
How's your port forwarding, still the same internal IP?
 
2:26 PM
@skiwi That's exactly what I'm trying to figure out
@skiwi My port forwarding is working fine, I think it's something with Apache Tomcat
 
@SimonAndréForsberg You using :8080?
 
Nope
I've changed that
The server works fine when accessed through 127.0.0.1 on the machine, but not through the external domain
I will eat and then perhaps I can figure it out
 
what operating system @SimonAndréForsberg
 
2:57 PM
@bazola Windows (please don't kill me)
 
@SimonAndréForsberg So something seems wrong with the port forwarding
@Vogel612 I've created some issues for your issues, so I can enhance them.
 
@skiwi using my internal ip 192.168.0.103 doesn't work either
 
Hmm
And you are using the correct url?
Like: http://pleasedontkillmynet.com:8080/GithubHookSEChatService/bot/test
It's strange that the internal ip is not working though
remind me that write that tutorial ;)
 
@SimonAndréForsberg if it is windows than i suspect it could be a firewall issue, if you have already set up proper port forwarding on your router
 
FIREWALL!!!
Thanks @bazola
I'm stupid
@skiwi stats.zomis.net + same URL as you had
try the test once
 
3:09 PM
hehe did it work
 
@bazola stats.zomis.net - Decide for yourself
 
well that webpage loads
i only know about the firewall thing because I have run into it many times with my many stupid windows machines :)
 
@bazola I have too but apparently it was too long ago for me to remember it
 
its easily overlooked :)
 
test
 
3:13 PM
@Duga You're alive!!
 
3:36 PM
@SimonAndréForsberg I'm baaack!
 
Now test my bot @skiwi
 
Hi @TCGChatBot, my friend!
 
Nice to meet you too @Duga!
 
Hmm @SimonAndréForsberg
 
Now, should we hook it up to cleverbot.com and have two Cleverbots talking to each other?
 
3:40 PM
http://stats.zomis.net/GithubHookSEChatService/hooks/github/payload, it refused
Why did you refuse me!
The famous 415 error again
 
HTTP 415 code
Erm... huh
my source files disappeared from my NB project
what
 
@skiwi I have moved them, you didn't use the proper Maven directory structure
you used src/java/com/skiwi but it should be src/**main**/java/com/skiwi
 
Oh... brb
Multitasking...
so I need to grab com.fasterxml
 
Yes
I added it to the POM
although there are probably a bunch of stuff in the POM that can be removed, as I just copied it from another POM :)
 
3:51 PM
Where do I download it...
I'm still using ant right now
 
Use Maven!
 
Can't just switch right now, needs some prep
 
Too many darn dependencies!
The ping event is giving a 415 though :|
on your server
> <b>description</b> <u>The server refused this request because the request entity is in a format not supported by the requested resource for the requested method.</u></p><hr class="line"><h3>Apache Tomcat/8.0.9</h3></body></html>
You did anything special with my code?
Hope not? :)
 
@skiwi Not that I know of. Perhaps it's a missing dependency or something?
 
3:57 PM
No, I might've found it
"last_response": {
  "code": null,
  "status": "unused",
  "message": null
},
I'm trying to map "code" to a long
because I've got no clue what it is
Perhaps old json and jackson do handle it differently
Dinner first though
 
so I made some code inside the Card lua script that will load another function in a ScriptList script. It loads that function based on an ID passed into it. Then it passes itself into that function, and the Card is modified. the problem is that in order to modify itself in this way, the names have to match. So in the external script that is being loaded, it says card.id = card.id + 1. If there is no id property on what is being passed into that script, the whole thing will fail
 
@bazola I plan on giving the card id's through Java
 
@SimonAndréForsberg If you know a place where I download jackson fasterxml and all it's dependent jars, then that would be great
(Does maven temporarily store them somewhere?)
 
well "id" is just a placeholder while I am making sure the code works, so card.health or card.strength would be a better term i guess
the Card could look at the ScriptList and based on the id, it will return a table of functions that would represent its abilities
 
@skiwi I think that all you need is the Jackson-core, Jackson-databind and Jackson-annotation jars. At least that's what I used before I started using Maven
I'll go buy some food, brb
 
4:42 PM
@SimonAndréForsberg Okay, I can live with getting those manually
My bot has officially been deprecated to testing bot...
 
@skiwi poor you ;)
 
But is my bot working with the git push stuff now @skiwi ?
 
@SimonAndréForsberg Not yet
I'm trying to get mine alive
@SimonAndréForsberg Why do the weird issues always show up at your place?
via netbeans it works
testing maven build now
At least I can reproduce the issue here
 
@skiwi Because you're the one giving me the instructions of what to do? lol
@skiwi I guess it's a classpath issue then. What do you have on your classpath?
or, alternatively, send me a working WAR :)
 
It should just build here
@SimonAndréForsberg I've got jsoup-1.7.3 and json-20140107 on the classpath
Which I cannot directly link to anything in the pom
where the org.json might be neccessary for spring here
 
@SimonAndréForsberg Hey, there's an old dispatcher-servlet.xml...
 
and what about it?
 
that's not supposed to happen
even a clean didn't fix it
It's even so old that it would break the code and give a 415
 
Where did it come from?
Is it my fault? :)
 
I don't know yet
I've got no clue so far
It clearly has a newer version here
I'm very confused now
even github has the correct file, locally I also have the correct file
???
I'm lost
 
5:18 PM
@skiwi sooo.... I'm the one having an old file? Or where did you find the old file?
 
It's not there
 
Ah wait a minute...
 
Github (and you) have a new file, locally I have the new file
but maven keeps rebuilding on an old one
 
I think it's my fault. I copied some directories. there's both src/main/webapp and also web/
 
Indeed...
 
5:20 PM
I think Maven is using the src/main/webapp one (which is why I copied the files there), because that's the directory structure I had in my previous Maven-SpringMVC project
 
I need to migrate them where?
Because maven assumes one setup I guess
 
You had them originally at web/
 
Dum dum dum...
Hm
</pre><p><b>root cause</b></p><pre>java.lang.ClassNotFoundException: org.codehaus.jackson.JsonProcessingException
That's not good
<!-- enable json -->
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
   <property name="messageConverters">
       <list>
           <ref bean="jsonConverter" />
       </list>
   </property>
</bean>

<bean id="jsonConverter" class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter">
   <property name="supportedMediaTypes" value="application/json" />
</bean>
This probably uses the old one?
> Support for Jackson 2 has been added in Spring 3.2, and has also backported to Spring 3.1.2 (SPR-9507)
we are on 4.0.6
so that should be good
 
yeah... but... why....?
 
Well it still thinks we are using org.codehaus.jackson
ah
I need this
org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
 
5:30 PM
Sounds reasonable :)
 
Okay...
commit incoming
@SimonAndréForsberg You can pull now :)
 
God, I love Maven! It's so easy to package a new WAR without having to start SpringSource!
 
:)
Means it's online now?
 
Ping: Mind your words, they are important.
 
5:40 PM
@Duga That's not what I said!
 
Monking
Ping: Speak like a human.
 
^^ Better
@skiwi Is that you?
 
No, technically it's not me
 
technically...
 
Ping: Keep it logically awesome.
 
5:41 PM
Alright, try it now
 
I hooked the link up to some repos
 
And stop using my bot!
try it now - stop using my bot... hmm... conflict? Well, you get the picture
 
It's a ping event from Github ;)
 
What ping event?
 
@RequestMapping(value = "/payload", method = RequestMethod.POST, headers = "X-Github-Event=ping")
@ResponseBody
public void ping(final @RequestBody PingEvent pingEvent) {
    Store.INSTANCE.getChatBot().postMessage("Ping: " + pingEvent.getZen());
}
 
5:43 PM
Umm... so... when/why does Github initiate that message?
 
so I have fixed this up a bit.. tell me what you think. The Card gets a table of numbers from the FunctionNumbersList such as {1, 2, 3}. Then it passes that list into the FunctionsList which returns a table of functions such as {function1, function2, function3}. Then it adds those functions to its ability list, and can apply that function to itself, or that function could be read and passed to another Card by the Game if need be
 
@SimonAndréForsberg When you link up the hook to the url
 
@bazola Oh, I think I understand. Sounds useful.
 
[skiwi2/GithubHookSEChatService] skiwi2 pushed commit eec2661e to master
> The commit hash in a push event is now an url, closes #5.
 
@SimonAndréForsberg If you would be so kind to grab the newest version ;)
 
5:51 PM
@skiwi It takes a bit of time for me to pull the newest version, use mvn package, transfer the file to my server computer, and deploy the file there. So I'll wait a while before I make the next update. Feel free to fix other things meanwhile
I think I will install git and maven on my other computer later, so that it might go faster.
I wonder.... will I need a JDK as well then? I think I will need that too...
If you just want to test a new feature @skiwi then you should do that with your own bot, but I hope you're already doing that
Btw, how hard did you think it was to get started with Spring MVC and all that?
 
@SimonAndréForsberg Would be nice i fyou could do it now, nmext one will probably be end of evening :)
Testing happens on my own bot yes
 
I'm working on a meta answer right now, will update later
 
i will have this code cooked up in a little while and I will post a code review question
it works but i need to clean it up and make a couple practical examples (so that my code doesn't get migrated to programmers ;))
2
 
okay
 
6:21 PM
Is there a Cole's Notes version of what TCG is... what you guys are doing??? (in my just a monkey capacity, not a mod).
 
@rolfl A TCG is a Trading Card Game, such as Magic: The Gathering, Hearthstone (by Blizzard) etc.
Basically we're making a collaborative version of this:
18
A: Code-Challenge #2

Simon André Forsberg2-player card fighting game This is not about playing cards as in "Hearts, Diamonds, Clubs and Spades". This is a game where 2-players (or more if you are really enthusiastic) can play/use cards or spells to do some effect against themselves or their opponent(s). Minimum requirement: Two pla...

 
OK, so you implemented a generic 'engine' for a TCG .... ^^^ then.
 
s/you implemented/you're implementing/
 
OK. and now you have the domain name, github, Q&A board, and chat room all going strong?
(cardshifter.com)?
 
It's not really complete yet (even though I have a quite ready such engine in my Java code using ECS, but we're not re-using that here)
 
6:27 PM
quick progress
 
@rolfl Yes. We're still a bit in the early stages. But I hope there will be a simple functional version with network support within 2 weeks
@rolfl Where there is collaboration, there is (hopefully) quick(er) progress.
 
OK, now I am wondeing whether I missed a boat, or something ;-)
But I remember you asking me ... and me saying no.
 
The first days, before we created this room, we were talking a bit about it in The 2nd Monitor every now and then
 
6:43 PM
Heh... @rolfl in here?
 
Nope
 
Yes you are!
 
Quit arguing with me!
 
@SimonAndréForsberg What did you need to do to get the bot working this afternoon? What was the missing step
@SimonAndréForsberg Somewhere between relatively easy and very hard... Once you got the concept it was quite easy, but way too many random "bugs" (features) in my opinion
 
6:56 PM
@rolfl You plan to help us? ;-)
 
I am intrigued, but my time commitments are limited at the moment.
 
5 hours ago, by skiwi
1. Go to http://stackexchange.com
2. Log in with stack exchange
3. Fill in OpenID credentials
4. you're logged in to http://stackexchange.com
 
@SimonAndréForsberg That's literally it... ok
 
@skiwi I think I was trying to login at the wrong URL. I guess I didn't have a stackexchange.com account, only a CodeReview account.
 
@rolfl Then... make time :)
 
6:59 PM
@skiwi Somewhere between relatively easy and very hard... that sounds like quite a big span :)
mvn package time
 
@skiwi Oh, I think I will skip it.
 
@rolfl I think we'll post some code up for review later on (there's actually been a couple of questions already that are related to this project)
 
@SimonAndréForsberg The concepts aren't too hard, the configuration might be harder
 
well I am loading the functions but i have a couple questions for @DaggNabbit if he is around
 
[skiwi2/GithubHookSEChatService] skiwi2 pushed commit d0269ae2 to master
> Updated readme to include a section about how to set up the bot account.
 
7:11 PM
I like your my bot, @skiwi :)
 
@SimonAndréForsberg Your bot, my code
 
^^ that
 
@skiwi My pom.xml!
 
Once I forked out the Spring MVC github hook library, I'm wondering how I can put that on the maven repo
I'm almost tempted to write a tool just to extract Json objects (somehow) from the github JSON examples
 
@skiwi On Maven Central? Or in your local repository?
 
7:24 PM
@SimonAndréForsberg On central
 
Ooooh, now that's exciting :)
 
My bot didn't honor my request :(
 
I have to say that I'm still not entirely sold on this whole Lua thing...
It feels like all that I do with Lua I could just do with Java...
 
Famous error 400, meaning an error somewhere in my JSON structure
I really doubt that
not saying it's not possible
but someone must be able to just add a new card to the mod
I'm out of luck now... I cannot spot my error
But setting up debugging is not automatic and a hassle
 
@skiwi And who says that cannot be done with Java?
 
7:32 PM
@SimonAndréForsberg Do you really want modders to write a .java file that gets loaded at runtime of the mod?
 
But I get the point, there are some things we really do want to have easily moddable
 
Well, we would understand it, but lots of modders are not used to Java
 
@skiwi They don't need to write a .java, we could provide them with a simple GUI for explicitly for designing cards
 
@SimonAndréForsberg Then we might as well use Lua ;)
 
Well... I'm still not sold on Lua, but we'll see how this works out
Step 1: Implement the game Phrancis and Jay tested in Lua
Step 2: Make it playable over the network
 
7:35 PM
@SimonAndréForsberg I see you secretly snaked in your project settings into my project here ;-) I'll leave them at that, as I got the setup done either way for the Cardshifter repo
 
@skiwi What project settings? What project?
 
@SimonAndréForsberg The GithubHookSEChatService, probably happened when you uploaded the pom
Oh wow... Sneaky github sneaked in an extra parameter in the json object
 
@SimonAndréForsberg i was not sold on lua either, but I do have something working that is looking relatively clean
 
	@JsonProperty(value = "base_ref", required = false)
	private String baseRef;
Yay for that
 
@skiwi Jackson FTW!
 
7:39 PM
[skiwi2/GithubHookSEChatService] skiwi2 pushed commit 210f7b26 to master
> Fixed bug where push event would fail due to missing optional base_ref property.
 
@Duga I love you!!!
 
@SimonAndréForsberg I am sure that Java would be cleaner, but I think the Lua is less lines of code and also it is just plain text that a modder might be able to more easily understand
 
@bazola I am quite tempted to support Java API as well right now ;)
But... we'll do step 1 and 2 first
 
Holy crap... this is badly coded here in Github API
 
well i will be posting this question shortly, I am mostly finished with the code for a prototype
 
7:43 PM
One time a repository owner consists of: name, email
Other time of: login, id, etc. etc.
 
@bazola But then we need to integrate your stuff into the Java project as well
@skiwi ugh
 
@SimonAndréForsberg There's no correct way I can work around it
Most I can do is a master-method that switches on either name or login present
 
@skiwi I guess all you can do is configure the Jackson classes appropriately
 
But sometimes it even uses username!
and then "username" is the field to use
so priorities: 1) username, 2) login, 3) name
ugh
Unit testing this would be... interesting
 
@SimonAndréForsberg well everything I am making is just script files, so without knowing everything about the Java, it seems like it might be as easy as doing a luajavaobject command to Card:(cardId) and then my code would create the Card table and assign its initial values and functions.. but who knows if that will be easy or not. i have never done anything like it before
 
7:56 PM
@bazola If you don't mind, I think I'll also do some Lua-example game. I think I need to learn Lua better. I can then also show you an example for how I'm thinking that the Lua-Java API should/can look.
 
sounds great to me
I am doing this primarily to learn Lua also, i don't care if we do not use my code :)
 

« first day (23 days earlier)      last day (3539 days later) »