Menu

Tree [61364a] master /
 History

HTTPS access


File Date Author Commit
 COPYING.txt 2011-11-21 Szerémi Attila Szerémi Attila [41a71b] 4.0
 README.txt 2011-11-21 Szerémi Attila Szerémi Attila [41a71b] 4.0
 lp.html 2011-11-21 Szerémi Attila Szerémi Attila [61364a] 0.5

Read Me

You are reading the README file for "JavaScript Yugioh Life Point Calculator" made by amcsi.

A Yu-Gi-Oh! JavaScript Life Point Calculator README fájlját olvassátok, ami amcsi által készült.

Contact information / Kontakt információ
========================================
Name: Attila Szerémi
E-mail address: amcsi@mailbox.hu
URL: http://sourceforge.net/projects/jsylpc/
(or http://sourceforge.net/projects/ylpc/)

English / Angol
===============

This script
-----------
This is a Yugioh Trading Card Game Life Point calculator made in JavaScript primarily for mobile phones. It comes as an html page, and you load it with your phone's browser. This means you have to copy lp.html somewhere onto your phone, where you can open it with your phone's browser. It is possibly as simple as copying it anywhere onto your phone, and just opening it on your phone. It depends on your model. Also depending on your model, you may have to change a few settings to make the calculaotr work. To change the settings, open up lp.html with a text editor such as Notepad and edit the part under SETTINGS. You'll find variables there in a format of "var <something> = <some value> // <some coments>". Changing the values will change the settings. First I'll start with a short explenation of each variable, then I'll write what to change to make it work on your phone.

Variables
---------
	startlp - Initial life points. Deafult: 8000
	numpad - If 1, a clickable numpad will appear. If 0, then it won't. Default: 0. 
	inputTextEnable - If 1, the input text field is not read-only. If 0, it is. Default: 0
	starCode - The keycode for the phone's * button. Default: 42
	sharpCode - The keycode for the phone's # button. Default: 35
	keyTest - If 1, this program won't act as a life point calculator, but instead, display a message with the keycode for the button you pressed.

Configuration
-------------
First of all, just try putting lp.html onto your phone without changing any of the settings, it case it works off the bat. 
If it doesn't; then if
- The star and sharp buttons don't work (which remove one digit, and all the numbers respectively from the counter), edit lp.html and change var keyTest = 0 from 0 to 1, and save it to your phone. Open lp.html in your phone's browser, press star, and write down the number that pops up, then press sharp, ad write down the number that appears. After that, edit lp.html again, and change the values of starCode and sharpCode according to what you wrote down, and change keyTest back to 0.
- your phone's numpad does commands instead of writing numbers to the text boxes, then your phone may have a setting turned on that makes numbers pressed do commands. Turn this setting off.
- if you can't use your phone's buttons at all, you can set var numpad to 1 or var inputTextEnable to 1. numpad will make a clickable numpad appear below both life points which you can click on. inputTextEnable will allow you to click the input texts to write in numbers. The clickable numpad might be better to use, but you can have both enabled at the same time.
If the page falls apart, or you need any help, please write in Help at https://sourceforge.net/forum/forum.php?forum_id=1013893 describing the problem.
If you had to change the variables for your phone to work, please report what you changed by writing on https://sourceforge.net/projects/jsylpc/forums/forum/1013893/topic/3422644, to help me help others


Hungarian / Magyar
==================

Ez a script
-----------
Ez egy Yu-Gi-Oh! kártyajáték életpontszámláló, ami mobilokra készült elsődlegesen, és JavaScriptben van írva. Egy html lapként van, amit a mobilod böngészőjével kell megnyitnod. Ez azt jelenti, hogy az lp.html-t valahova a mobilodra kell bemásolnod, ahol meg tudod nyitni a mobilod böngészőjével, ami általában olyan egyszerű, hogy bárhová rakod a mobilodra, majd megnyitod a fájlt a mobiloddal. Modellenként változik, ahogyan az is, hogy lehet, hogy át kell állítanod néhány dolgot a beállításokban, hogy működjön. A beállítások megváltoztatásához nyisd meg az lp.html-t egy egyszerű szövegszerkesztővel, pl. Notepaddel, és a SETTINGS alatti részt kell megnézned. Változókat fogsz ott találni, olyan formában, hogy "var <név> = <érték> // <kommentek>". Az értékek megváltoztatásával változnak a beállítások. Először egy rövid leírást írok minden változóról, majd egy egyszerű konfigurálási útmutatót írok, hogy működjön ez az életpontszámláló script a mobilodon.

Változók
---------
	startlp - Kezdő életpontmennyiség. Alapértelmezett: 8000
	numpad - Ha 1-esen van, egy klikkelhető numpad jelenik meg. Ha 0, akkor nem. Alapértelmezett: 0
	inputTextEnable - Ha 1, az input szövegmező nem read-only. Ha 0, akkor igen. Alapértelmezett: 0
	starCode - A mobilod * gombjának a billentyű kulcs értéke. Alapértelmezett: 42.
	sharpCode - A mobilod # gombjának a billentyű kulcs értéke. Alapértelmezett: 35.
	keyTest - Ha 1-esen van, ez a script életpont számlálás helyett minden gombnyomásra kiírja a megnyomott gomb kulcs értékét. Ha 0, akkor nem. Alapértelmezett: 0

Konfiguráció
------------
Először próbáld csak feltenni az lp.html-t a mobilodra változtatások nélkül, hátha működik. 
Ha nem, akkor ha
- a csillag és kettőskereszt gombok nem működnek - amik amúgy törölnek számjegyet a számlálóból - editáld az lp.html-t, és változtasd a var keyTest = 0-nál a 0-t 1-re, és mentsd el a telefonodon. Aztán nyisd meg a telefonodon, nyomj egy csillagot, írd fel, hogy az előjövő üzenetablakban milyen számot ír, majd a kettőskereszttel is játszd el ugyanezt. Ezután editáld az lp.html-t megint, és starCode értékét változtasd meg a leírt csillag értékére, a sharpCode-ot meg a kettőskeresztére, majd a keyTest-et állítsd vissza 0-ra, és mentsd el a telefonodra.
- a mobilod numpadja parancsokat hajt végre, ahelyett, hogy számokat írna. Ebben az esetben elképzelhető, hogy a mobilod böngészőjében van olyan beállítás, ami a numpad számait parancsoknak tekinti. Ha ki lehet kapcsolni, kapcsold ki.
- ha nem megy sehogyan se, akkor az utolsó lehetőség, hogy a var numpadot vagy a var inputTextEnable-t 1-re állítod. Az előbbinél egy kattintható numpad jelenik meg a lapon, az utóbbi esetén a szövegbeviteli mezőre rá lehet kattintani, hogy beírj számokat. Amelyik tetszik, azt állítsd 1-re, de mindkettő is bekapcsolva lehet egyszerre.
Ha a lap szétesik, vagy bármilyen más kérdésed van, írj a Help-ben, akár magyarul is: https://sourceforge.net/forum/forum.php?forum_id=1013893
If the page falls apart, or you need any help, please write in Help at https://sourceforge.net/forum/forum.php?forum_id=1013893 describing the problem.
Ha a változók átírásával működik az életpontszámláló, kérlek írd meg itt: https://sourceforge.net/projects/jsylpc/forums/forum/1013893/topic/3422644, hogy könyebben segíthessek az újabb embereknek
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.