Corahn-Rin, character manager by Pierstoval

Here is where everything begins...
Introductions, questions, looking for players, the Esteren Tour, event announcements, contests...
Old timer
Messages : 24
Inscription : 18 janv. 2013, 11:06
Localisation : Oxford, UK

Re: Corahn-Rin, character manager by Pierstoval

  •    
  • Citation

Message par Old timer » 01 juin 2014, 18:01

OK, dont know if this is another problem (i had the same problems mentioned above when first checking this out), but when i use this now and change the language option to English (i speak/read very little French) nothing changes other than the top of the page, all the options section are still in French. This looks really useful, so i hope it will be translated or the bug (if that is the problem) sorted out soon.

Avatar de l’utilisateur
Pierstoval
Web developer
Messages : 1480
Inscription : 03 août 2011, 19:09
Localisation : Aix-en-Provence
Contact :

Re: Corahn-Rin, character manager by Pierstoval

  •    
  • Citation

Message par Pierstoval » 01 juin 2014, 20:00

Old timer a écrit :OK, dont know if this is another problem (i had the same problems mentioned above when first checking this out), but when i use this now and change the language option to English (i speak/read very little French) nothing changes other than the top of the page, all the options section are still in French. This looks really useful, so i hope it will be translated or the bug (if that is the problem) sorted out soon.
Have you tried directly from the english url http://jdr.pierstoval.com/esteren/en/ ?

Old timer
Messages : 24
Inscription : 18 janv. 2013, 11:06
Localisation : Oxford, UK

Re: Corahn-Rin, character manager by Pierstoval

  •    
  • Citation

Message par Old timer » 02 juin 2014, 08:44

Yes, the front page is in English, but when i click on 'continue character generation' box, the next page is in French. The drop box for the Language change is highlighted as English, but the peoples page and the other pages are still in French.

Avatar de l’utilisateur
Pierstoval
Web developer
Messages : 1480
Inscription : 03 août 2011, 19:09
Localisation : Aix-en-Provence
Contact :

Re: Corahn-Rin, character manager by Pierstoval

  •    
  • Citation

Message par Pierstoval » 02 juin 2014, 13:12

Found it : an format error in the translation files which are formatted in JSON.

Now it's alright :)

Tell me if there's anything else ! Or simply add a report to Redmine :)

Old timer
Messages : 24
Inscription : 18 janv. 2013, 11:06
Localisation : Oxford, UK

Re: Corahn-Rin, character manager by Pierstoval

  •    
  • Citation

Message par Old timer » 03 juin 2014, 12:51

Ok tried it again, (English version) but i keep getting the same bug reported above by Quixol, i pick two options from the social class, clicked next and it simple takes me back to the beginning of the social class page. Tried clearing cache and that changed nothing.

Quixol
Messages : 11
Inscription : 29 sept. 2012, 23:43

Re: Corahn-Rin, character manager by Pierstoval

  •    
  • Citation

Message par Quixol » 03 juin 2014, 23:12

Old timer a écrit :Ok tried it again, (English version) but i keep getting the same bug reported above by Quixol, i pick two options from the social class, clicked next and it simple takes me back to the beginning of the social class page. Tried clearing cache and that changed nothing.
I have not had a chance to test again, but will try later this week. Clearing the cache did work for myself in a previous version. Not sure if this is still the case. I am using Chrome

Avatar de l’utilisateur
Pierstoval
Web developer
Messages : 1480
Inscription : 03 août 2011, 19:09
Localisation : Aix-en-Provence
Contact :

Re: Corahn-Rin, character manager by Pierstoval

  •    
  • Citation

Message par Pierstoval » 04 juin 2014, 08:40

This bug is really strange... I tried on IE, Safari, Opera, Firefox and Chrome, and couldn't reproduce the bug, whatever the language used...

The app sends some HTTP headers which would normally force your browser to clear part of the cache on "first load", but if the bug persists, it may be a Javascript error, for which I will need really more informations to debug :)

Thanks for reporting anyway ! :)

MrTea1
Messages : 8
Inscription : 01 juin 2014, 22:22

Re: Corahn-Rin, character manager by Pierstoval

  •    
  • Citation

Message par MrTea1 » 04 juin 2014, 11:42

I get the same problem on the class page, I see a request to the server after selecting 2 domains on the class page:

Code : Tout sélectionner

POST http://jdr.pierstoval.com/esteren/en/ajax/aj_genmaj.php HTTP/1.1
Referer: http://jdr.pierstoval.com/esteren/en/create_char/05_classe.html
Cookie: corahnRinJdrPierstovalCom=aqt8dphn7ai73hf86j2ehm0j21
05_classe%5Bclasse%5D=Paysan&05_classe%5Bdom1%5D=5&05_classe%5Bdom2%5D=8&etape=5

HTTP/1.1 200 OK
and then when next step is clicked I see the following request:

Code : Tout sélectionner

GET http://jdr.pierstoval.com/esteren/en/create_char/06_age.html HTTP/1.1
Referer: http://jdr.pierstoval.com/esteren/en/create_char/05_classe.html
Cookie: corahnRinJdrPierstovalCom=aqt8dphn7ai73hf86j2ehm0j21

HTTP/1.1 302 Found
Location: http://jdr.pierstoval.com/esteren/en/create_char/05_classe.html
<div class="container">
so the age page is booting you back to the class page, presumably because it thinks you havent selected everything you need on the previous page.

Hope this helps!

Avatar de l’utilisateur
Pierstoval
Web developer
Messages : 1480
Inscription : 03 août 2011, 19:09
Localisation : Aix-en-Provence
Contact :

Re: Corahn-Rin, character manager by Pierstoval

  •    
  • Citation

Message par Pierstoval » 04 juin 2014, 12:23

Omg... Found it : when the AJAX request was sent during the 5th step, I was trying to translate the Social Class, but it's written in raw in the HTML...

And I couldn't reproduce the bug because... In local, the translation were not loaded ! So the translation check returned true, and in "prod", returned false because translations are loaded...

I fixed this by removing translation in the "genmaj" ajax module , and now it fully works !

Tired of these beginner mistakes :p

Old timer
Messages : 24
Inscription : 18 janv. 2013, 11:06
Localisation : Oxford, UK

Re: Corahn-Rin, character manager by Pierstoval

  •    
  • Citation

Message par Old timer » 04 juin 2014, 15:33

Thank you for your hard work on this, i have now tried it a few times and it works, no problems at all :). Going to be a useful tool for my upcoming campaign.

Répondre