@fitnessguy0 Steer/box is not required for game login.
Printable View
@fitnessguy0 Steer/box is not required for game login.
After replacing the api with the VN image, running 3. ArbiterServer keeps reporting an error.
Waiting to connect Account... Failed
Waiting to connect Account... Failed
Waiting to connect Account... Failed
Waiting to connect Account... Failed
Waiting to connect Account... Failed
Waiting to connect Account... Failed
...
It has been set step by step according to the tutorial. Is there any other place to set it?
@willhcz
The Arbiter server does not use the API at startup, as do all tera servers. Therefore, the problem should not be in the API.
I also recommend starting the Tera API at last, when all servers (hub, arbiter, world, steer, box, etc.) have successfully started.
Your error indicates that you probably don't have hub, hub_gw and arb_gw running.
well,just wonder where and what file need to edit to my public IP?
通过我的 NOH-AN00 上的 Tapatalk发言
I just want to ask if there are any actual issues with the new update to the api before i start installing it and ruin my setup xD
well,,, i have changed API_PORTAL_CLIENT_DEFAULT_REGION=TW to TW right now...it works now... thx so much
another problem is,,,
but i am using TW client,,,everytime I choose TW lanaguage from the launcher and then the client works, otherwise not working,,,,
so,,right now,,i want my launcher is log in TW region and lanaguage by defult ,,,,, no matter what region i choose from the lacuncher ,,is must be chosen to TW region by defalut.....how do I set up this???
thx
@willhcz
Recomended start order with API:
1. hub and hub_gw
2. Steer Server services
3. Box Server services
4. TERA API
5. REST (Nexusserver, MatchServer, XigncodeProxy)
6. TopographyServer
7. arb_gw and ArbiterServer
8. WorldServer (PartyMatching, BattleField, DungeonServer)
Always busy with work,Now that I have the time I can't wait to redeploy the TERA server and get ready to have some fun!But when I started the server, the error of not being able to connect to the server it came back.
I double-checked anywhere I knew, but no matter how I set it up, it wouldn't connect.
I can only ask for help again!
Sorry, my English is terrible.
This is arb_gw log:
[2022/08/11 00:28:57.502] Start request to host [127.0.0.1:8080] bfd2a4
[2022/08/11 00:28:57.520] REST keep-alive timeout. disconnect connection
[2022/08/11 00:28:57.539] REST Socket closed. Reconnect [bfd2a4]
[2022/08/11 00:28:57.539] Host: [127.0.0.1] Port: 8080
[2022/08/11 00:28:57.558] Resolving result 127.0.0.1:8080
[2022/08/11 00:28:57.573] Http result: 200, Size: 33, Error: 0 [bfd2a4]
[2022/08/11 00:28:57.591] GetServerPermission {"result_code":0,"permission":51}
[2022/08/11 00:28:57.607] Server stat 00000033
[2022/08/11 00:29:57.510] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}
[2022/08/11 00:29:57.526] Start request to host [127.0.0.1:8080] bfd2a4
[2022/08/11 00:29:57.542] REST keep-alive timeout. disconnect connection
[2022/08/11 00:29:57.558] REST Socket closed. Reconnect [bfd2a4]
[2022/08/11 00:29:57.558] Host: [127.0.0.1] Port: 8080
[2022/08/11 00:29:57.588] Resolving result 127.0.0.1:8080
[2022/08/11 00:29:57.592] Http result: 200, Size: 33, Error: 0 [bfd2a4]
[2022/08/11 00:29:57.619] GetServerPermission {"result_code":0,"permission":50}
[2022/08/11 00:29:57.627] Server stat 00000032
[2022/08/11 00:30:57.558] GetServerPermission post data : {"server_id":2800,"serviceCode":"PCO012"}
This is a mistake
https://s3.bmp.ovh/imgs/2022/08/11/f42a026ebf2353f9.jpg
There should be no errors in the database
https://s3.bmp.ovh/imgs/2022/08/11/d4919e2a279b3d1d.jpg
Does the API have to be set up additionally
https://s3.bmp.ovh/imgs/2022/08/11/c349e762d39fcfa5.jpg
API, teraser, and web all start normally, but cannot connect to the server no matter what
Also with a fresh install using the new API, is the old accountdb.sql no longer needed?
I rebuilt the database using the SQL in share\db
@Brat05
I see that your server is set to permission level 50, so only users with permission level 50 or higher can access it.Code:[2022/08/11 00:29:57.619] GetServerPermission {"result_code":0,"permission":50}
Set the permission level for the server to 0, or set the permission level for the user to 50 or higher.
Also note that when you enable maintenance mode on a server, the API automatically sets the permissions for the server to 256. Therefore, if you want to access a server that is in maintenance, you need to set permissions to 256 for your maintainer user ("Set MT" button in account edit form).
Thanks for your help, it's fixed! I was the one who overlooked it here in the log! Thank you very much....
Your new API is great, thank you for sharing it.
https://s3.bmp.ovh/imgs/2022/08/11/a33a44ddd37f483c.jpg
I would also like to ask you about point 9 of your tutorial
9.In new window select group API_AdminPanel_Admin and click add.
When I opened and did not find the API_AdminPanel_Admin,ExportSteerData_steeradmin_API.sef has imported and restarted the WEB and API
API_AdminPanel_Admin group is needed to add extra?
https://s3.bmp.ovh/imgs/2022/08/11/287070b10a6f33de.jpg
@Brat05 The specified groups are contained in the imported file. You probably didn't import the .sef file.
Upload the file into import and check for groups on left side, and then click Start data register on right side to complete the import.
1.
https://i.imgur.com/1j5WdGB.png
2.
https://i.imgur.com/ejSXSBp.png
https://i.imgur.com/y3nQJP2.png
3.
https://i.imgur.com/CB2uZIg.png
- - - Updated - - -
4.
https://i.imgur.com/m9pOgDO.png
5.
https://i.imgur.com/ZYRKoVr.png
6.
https://i.imgur.com/8XNrpXR.png
7.
https://i.imgur.com/x7t0BDi.png
Is this API match with the old webapp?
Since I see a different server list in my webapp...it shows me a different with the server list of admin panel...
but in the game, it shows the admin panel that one...
通过我的 NOH-AN00 上的 Tapatalk发言
@fitnessguy0 The server list in the WebApp is used to connect the WebApp to the game server database. The API does not communicate with the WebApp. The servers list in the API Admin Panel configures only the servers list (SLS) of available servers when you enter the game.
Big thanks to @hsdn but me still catch some errors in console:
- when login into game
- when open ingame shopCode:[2022-08-11 13:48:25.167] (WARN) Portal API: GET /public/patch/version.ini 404 - 1.590 ms
Code:[2022-08-12 09:44:05.630] (WARN) Portal API: GET /public/fontawesome/webfonts/fa-regular-400.ttf 404 - 2.185 ms
[2022-08-12 09:44:05.697] (WARN) Portal API: GET /public/fontawesome/webfonts/fa-regular-400.svg 404 - 1.736 ms
@TieLay You can ignore the version.ini related error if you are not using client patcher.
Missed webfonts has been added in latest update.
how come I used this API,,the game's setting is totally diffenent??
it seems like someone has changed its setting....??
but my database and webapp is totally clean..!!!
how come??
@fitnessguy0 This is not API related issue.
@fitnessguy0 U can anytime read Logs and seek problem or reset game to basic state, or take exist and work servers and services compilation in nearest theme of TERA 100.02
@hsdn @TieLay
thx for your answering....https://flic.kr/p/2nE1KrC
After I installed this API,,these buffs are appearred automatically...
how to cancel these buff??thx again...
https://live.staticflickr.com/65535/...d7367a2d6e.jpg
https://live.staticflickr.com/65535/...dfce8b6d97.jpg
@fitnessguy0 You need to remove this benefits from your account in admin panel section: Accounts -> Benefits. You can also remove the API_PORTAL_INITIAL_BENEFIT_ID_ lines from the .env file to prevent these benefits from being added to newly created accounts.
@hsdn
thx so much...
right now, I wanna translate In-game shop to different language..where to edit the files? since I can't find any index website site inside the API...
I only know the categories inside Admin Panel is available for translation...
通过我的 NOH-AN00 上的 Tapatalk发言
HelloI would like to ask whether Traditional Chinese can use Tera API and TERA Shop Integration?
What settings need to be changed? Thanks!
@fitnessguy0 @uiojilk777
Translation of the Shop interface can be done by creating the file in the directory tera-api\src\locales\shop and add this locale in tera-api\config\admin.js config to display this language in the shop editor.
Shop item names are stored in the database, you need to use TW DC to get the data.
Instructions here: https://github.com/justkeepquiet/ter...ata-datasheets
- - - Updated - - -
Item names database dump based on TW DC added, you can download it here: https://github.com/justkeepquiet/ter...s_%5Btw%5D.sql
But I notices you that not all items added to the Shop based on the sample database will have names in TW/CN, because they were added from EUR DC.
I will give it a try thanks for the help
First I created the 00_db_schema database and successfully imported 00_db_schema.sql, but when I created 01_db_data or 02_db_data_item_conversions and imported the same name.sql, an error will be reported.
I'm stuck, what should I do? thanks
(4. Select the file ExportSteerData_steeradmin_API.sef and confirm import.)
- - - Updated - - -
First I created the 00_db_schema database and successfully imported 00_db_schema.sql, but when I created 01_db_data or 02_db_data_item_conversions and imported the same name.sql, an error will be reported.
I'm stuck, what should I do? thanks
(4. Select the file ExportSteerData_steeradmin_API.sef and confirm import.)
Attachment 172206
- - - Updated - - -
First I created the 00_db_schema database and successfully imported 00_db_schema.sql, but when I created 01_db_data or 02_db_data_item_conversions and imported the same name.sql, an error will be reported.
I'm stuck, what should I do? thanks
(4. Select the file ExportSteerData_steeradmin_API.sef and confirm import.)
https://upload.cc/i1/2022/08/17/0DuVTG.png
- - - Updated - - -
First I created the 00_db_schema database and successfully imported 00_db_schema.sql, but when I created 01_db_data or 02_db_data_item_conversions and imported the same name.sql, an error will be reported.
I'm stuck, what should I do? thanks
(4. Select the file ExportSteerData_steeradmin_API.sef and confirm import.)
First I created the 00_db_schema database and successfully imported 00_db_schema.sql, but when I created 01_db_data or 02_db_data_item_conversions and imported the same name.sql, an error will be reported.
I'm stuck, what should I do? thanks
(4. Select the file ExportSteerData_steeradmin_API.sef and confirm import.)
So Tera-API shouldn't be installed first?
I follow the top-down steps of GitHub (https://github.com/justkeepquiet/tera-api)
Can you provide a detailed tutorial? thanks
- create dabases box2db, steer3db and teraapi like codepage in UTF8 and step by step tutorial O U can download my version TERA_SERVER, extract from archive folder .\TERA_SERVER\BackUpDATA and execute MySQL*.SQL files in HeidiSQL that connected to MySQL - it's files what me use in my gameServer and all works perfectly - they all includes full MySQL DB pack for normal work, but U need correct only one record in teraapi DB thet about server configuration, if you's IP different then 172.16.200.119
Could someone make a compilation of everything updated from the tera version 100 server whit all update? there are so many things that for us new users it is very complex. there are many comments and many news.
thx again,,,it works now。。
but lots of items are no name or unknown appeared in Tera Shop.
and most of them are display right the name...
Is ur Sql file missing some tranlation?Attachment 172211Attachment 172212Attachment 172213
通过我的 NOH-AN00 上的 Tapatalk发言
https://uploads.tapatalk-cdn.com/202...004f7c3ff7.jpghttps://uploads.tapatalk-cdn.com/202...da681448d6.jpghttps://uploads.tapatalk-cdn.com/202...3739df8239.jpg
Yes, I told you about this:
The Shop database included as an example was created on the basis of the EUR DC. You need to independently add products to the catalog based on TW client, unfortunately, I can't help with this, it takes a lot of time.
https://forum.ragezone.com/image/png...AASUVORK5CYII=
use new api but cant run arb_gw server, its something wrong.
Code:[2022/08/18 19:27:58.411] build : Sep 16 2020, 17:25:33, LOG_LEVEL : 5[2022/08/18 19:27:58.411] Process URL [http://192.168.200.3:8080/api][2022/08/18 19:27:58.411] Host: [192.168.200.3] Port: 8080 /api/[2022/08/18 19:27:58.430] Resolving result 192.168.200.3:8080[2022/08/18 19:27:58.430] Process URL [http://192.168.200.3:8080/][2022/08/18 19:27:58.443] Host: [192.168.200.3] Port: 8080 /[2022/08/18 19:27:58.443] Resolving result 192.168.200.3:8080[2022/08/18 19:27:58.443] Start request to host [192.168.200.3:8080] f6e26c[2022/08/18 19:27:58.443] REST Socket closed. Reconnect [f6e26c][2022/08/18 19:27:58.460] Host: [192.168.200.3] Port: 8080[2022/08/18 19:27:58.460] Resolving result 192.168.200.3:8080[2022/08/18 19:28:00.507] Socket reconnection failed with Unable to connect because the target computer actively refused.[2022/08/18 19:28:00.507] Socket closed with the operation completed successfully. [f6e26c][2022/08/18 19:28:00.507] **** SLOW Call 2078[/systemApi/RequestAPIServerStatusAvailable][2022/08/18 19:28:00.520] RequestAPIServerStatusAvailable [2022/08/18 19:28:00.520] RequestAPIServerStatusAvailable failed -1[][2022/08/18 19:28:00.536] REST CheckServer failed
Hello ! im trying to use the packer but i have this error, anyone can help me ?
Thank you for your hint, I successfully configured Steer Server + Box Server after referring to TieLay's reply, and found TieLay's version TERA_SERVER in Tera level 100 version, and I am currently researching and using it.
- - - Updated - - -
I have set 127.0.0.1 instead of 192.168.200.3 on config_arb_gw.txt in parameters rest_url and rest_url_auth, the following message appears when running the file tera-api.bat,please what should i do? thanks!
[2022-08-19 01:19:22.594] (info) Logger: Log file: C:\tera-api\logs\log_2022-08-19_01-19-22_728.log
[2022-08-19 01:19:22.724] (warn) Steer: Not configured or disabled. QA authorization for Admin Panel is used.
[2022-08-19 01:19:22.830] (error) Hub: Error: connect ECONNREFUSED 127.0.0.1:11001
[2022-08-19 01:19:22.855] (info) Datasheet: Loaded: en:strSheetAccountBenefit, elements: 49
[2022-08-19 01:19:22.861] (info) Datasheet: Loaded: ru:strSheetAccountBenefit, elements: 49
[2022-08-19 01:19:22.867] (info) Datasheet: Loaded: en:strSheetDungeon, elements: 264
[2022-08-19 01:19:22.874] (info) Datasheet: Loaded: ru:strSheetDungeon, elements: 264
[2022-08-19 01:19:23.048] (info) Datasheet: Loaded: en:strSheetCreature, elements: 19233
[2022-08-19 01:19:23.192] (info) Datasheet: Loaded: ru:strSheetCreature, elements: 19233
[2022-08-19 01:19:23.232] (info) Database: Connected.
[2022-08-19 01:19:23.411] (info) Arbiter API: Listening at: 127.0.0.1:8080
[2022-08-19 01:19:23.411] (error) Portal API: Error: listen EACCES: permission denied 0.0.0.0:80
[2022-08-19 01:19:23.411] (info) Gateway API: Listening at: 127.0.0.1:8040
[2022-08-19 01:19:23.411] (info) Admin Panel: Listening at: *:8050
[2022-08-19 01:19:23.412] (info) CL: Process closed.
@uiojilk777 You need to start servers in the following order:
1. hub and hub_gw <-- first
2. Steer Server services
3. Box Server services
4. TERA API
5. REST (Nexusserver, MatchServer, XigncodeProxy)
6. TopographyServer
7. arb_gw and ArbiterServer
8. WorldServer (PartyMatching, BattleField, DungeonServer)
Also, this error indicates that port 80, which is necessary for the API to work, is not available for listening (perhaps it is already used with some service using port 80, or it is forbidden by the firewall).Quote:
[2022-08-19 01:19:23.411] (error) Portal API: Error: listen EACCES: permission denied 0.0.0.0:80
Hello,One small question,When I create or delete a Promo code using the TERA API Admin Panel,Some error messages appear in the log window of the API,However, the TERA API Admin Panel was successfully created or deleted again.
https://s3.bmp.ovh/imgs/2022/08/19/3f0e84819ae8aa64.png
https://s3.bmp.ovh/imgs/2022/08/19/ac661e50b735cd2b.png
TERA_10M_coins is a new one I added,The item has also been added to the js.
Thanks, I've got it working, but I have two new questions to ask, thanks again.
1. 9. In new window select group API_AdminPanel_Admin and click add. << I can't find API_AdminPanel_Admin。https://forum.ragezone.com/image/png...AASUVORK5CYII=
2.How to get Launcher.exe to work,I only use Resource Hacker to make changes like below, but Launcher.exe doesn't open
https://forum.ragezone.com/image/png...AAAElFTkSuQmCChttps://forum.ragezone.com/image/png...BJRU5ErkJggg==
@Brat05 Set LOG_LEVEL parameter to debug in your .env. If this problem persists, please send a log.
Thanks, I've got it working, but I have two new questions to ask, thanks again.
1. 9. In new window select group API_AdminPanel_Admin and click add. << I can't find API_AdminPanel_Admin。
https://forum.ragezone.com/image/png...AAAElFTkSuQmCC
2.How to get Launcher.exe to work,I only use Resource Hacker to make changes like below, but Launcher.exe doesn't open
https://forum.ragezone.com/image/png...AASUVORK5CYII=https://forum.ragezone.com/image/png...BJRU5ErkJggg==
Attachment 172220Attachment 172221Attachment 172222Attachment 172220Attachment 172221Attachment 172222Thanks, I've got it working, but I have two new questions to ask, thanks again.
1. 9. In new window select group API_AdminPanel_Admin and click add. << I can't find API_AdminPanel_Admin。
https://forum.ragezone.com/image/png...AAAElFTkSuQmCC
Thanks, I've got it working, but I have two newquestions to ask, thanks again.
1. 9. In new window selectgroup API_AdminPanel_Admin and click add. << I can't findAPI_AdminPanel_Admin。
2.How to get Launcher.exe to work,I only useResource Hacker to make changes like below, but Launcher.exe doesn't open
https://imgur.com/a/Js3CBZu
https://i.imgur.com/iWkRqN9.pnghttps://i.imgur.com/VklAYbd.pnghttps://i.imgur.com/5T6KN77.png
https://imgur.com/a/Js3CBZu
You need to import ExportSteerData_steeradmin_API.sef as described in the integration instructions.
Check the availability of URL http://172.22.226.133/tera/LauncherMain in your browser. If it is not available, you probably made a mistake in setting up the IP, or access is denied by the firewall.
- - - Updated - - -
I will release an update with a fix for this issue soon.
After changing to debug there are still errors
This is the log when I deleted Promo Code:
2022-08-19 04:24:03.508] (ERROR) Database: Error: commit has been called on this transaction(c39dab3b-1f0a-48bc-a798-16df1dde4b68), you can no longer use it. (The rejected query is attached as the 'sql' property of this error) Error: commit has been called on this transaction(c39dab3b-1f0a-48bc-a798-16df1dde4b68), you can no longer use it. (The rejected query is attached as the 'sql' property of this error)
at checkTransaction (D:\TERATools\tera-api\node_modules\sequelize\lib\sequelize.js:290:23)
at D:\TERATools\tera-api\node_modules\sequelize\lib\sequelize.js:300:7
at D:\TERATools\tera-api\node_modules\retry-as-promised\index.js:69:21
at new Promise (<anonymous>)
at retryAsPromised (D:\TERATools\tera-api\node_modules\retry-as-promised\index.js:59:10)
at Sequelize.query (D:\TERATools\tera-api\node_modules\sequelize\lib\sequelize.js:296:12)
at MySQLQueryInterface.insert (D:\TERATools\tera-api\node_modules\sequelize\lib\dialects\abstract\query-interface.js:308:42)
at model.save (D:\TERATools\tera-api\node_modules\sequelize\lib\model.js:2432:79)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Function.create (D:\TERATools\tera-api\node_modules\sequelize\lib\model.js:1344:12)
[2022-08-19 04:24:03.516] (DEBUG) Database: Executing (default): SELECT `shop_promocodes`.`promoCodeId`, `shop_promocodes`.`promoCode`, `shop_promocodes`.`function`, `shop_promocodes`.`validAfter`, `shop_promocodes`.`validBefore`, `shop_promocodes`.`active`, `shop_promocodes`.`createdAt`, `shop_promocodes`.`updatedAt`, `strings`.`id` AS `strings.id`, `strings`.`language` AS `strings.language`, `strings`.`promoCodeId` AS `strings.promoCodeId`, `strings`.`description` AS `strings.description` FROM `shop_promocodes` AS `shop_promocodes` LEFT OUTER JOIN `shop_promocode_strings` AS `strings` ON `shop_promocodes`.`promoCodeId` = `strings`.`promoCodeId` AND `strings`.`language` = 'en';
[2022-08-19 04:24:03.524] (DEBUG) Admin Panel: Request: GET /promocodes/delete?promoCodeId=9 IP: 192.168.20.1
[2022-08-19 04:24:03.527] (DEBUG) Admin Panel: Response: 302 10.252 ms
Problem has been fixed.
Please download update https://github.com/justkeepquiet/tera-api and completely replace the src\controllers directory.
The total/now fields show the progress of downloading updates/installing the game client, if you have the automatic client update feature enabled.
I have everything running,And as shown in the picture, but the Shop cannot be opened in the game.
Please what should I do, thanks
https://i.imgur.com/DxC6Mpm.pnghttps://i.imgur.com/NrpVxDf.pnghttps://i.imgur.com/1C0DclM.png
Thank you now Shop has appeared successfully, but there is no traditional Chinese UI,
I have create the file tw.json in tera-api\src\locales\shop directory ( just copy en.json to tw.json),
And selected the third language option in launcher.exe
https://i.imgur.com/FuAWLXz.png
Translation of UI and category names into Taiwanese/Chinese is not included in the release, you need to translate yourself.
Also you can contact with @fitnessguy0 he already did it.
Don't forget to add "tw" to the file tera-api\config\admin.js so that the Admin Panel will be able to specify the translation for products and categories.
You need restart TeraAPI after adding locale to tera-api\config\admin.js.
Just change port in IIS.
- - - Updated - - -
I will also note that if you want to display shop items in the Admin Panel in Chinese:
1. Copy the file tera-api\src\locales\admin\en.json to tera-api\src\locales\admin\tw.json.
2. Set the ADMIN_PANEL_LOCALE parameter as tw in your .env.
3. Extract this datasheets https://github.com/justkeepquiet/ter...asheets-tw.zip to directory tera-api\data\datasheets.
Thank you, I originally changed it to port 87, and I can change it to something else.. Sorry for asking such a stupid question
- - - Updated - - -
Thanks but these 3 steps i have done and it doesn't show the name of tw.
https://i.imgur.com/HCfCeIq.png
So, I have updated api and everything but when I open the shop it just shows a white blank page.
Did I miss anything?
I configured the shop url in arb_gw server and I uncommented the shop line in deploymentConfig.
1. We used special scripts to add items, but I don't publish them here because of the difficulties in using them. Perhaps in the future this tools will be available to everyone.
2. You can use a promo code, or develop your website with billing, and update the shop account by calling the Gateway API endpoint /shopApi/FundByUserNo or by directly updating the values in the database.
Copy the file tera-api\public\launcher\css\buttons-en.css as tera-api\public\launcher\css\buttons-tw.css.
You can edit the file buttons-tw.css to specify the TW buttons to be placed in the directory tera-api\public\launcher\images\tw.
TW buttons can be downloaded here https://disk.yandex.ru/d/AmGTqnQYzy2hpA
- - - Updated - - -
Not, you need comment or remove the Shop line from DeploymentConfig.xml, to make the server use value from arb_gw instead.
Hello im trying the packer, but i have some issues , any help with this ? thanks
https://imgur.com/byUpOKo
Yes, you can use chrono scroll items, configured in the file tera-api/config/chronoScroll.js, like that:
For example, you can add item id 215300, when using it in the game, 100 coins will be funded to the shop account.Code:215300: [[Shop, { fund: [100] }]],
- - - Updated - - -
You didn't run the npm install command in the tera-client-packer's directory.
1.
If I want to buy in npc mall, first in Below <List id="16067"> in BuyList.xml,Add <Item priceRevision="1" itemId=" 215300" /> ,Then where do I go to set the price? And what else do I need to do? Thanks
2.I unpacked the client DC using the novadrop-dc tool,
But How to use novadrop-dc tool to repack the client DC? Thanks
1. About merchants settings (server side):
- BuyMenuList.xml - Categories tabs of buy menus (menu by right-click on an item, or a merchant).
- BuyList.xml - Items and prices in buy menus categories (if "NeedMedalItemId" is specified, needs check ItemMedalExchange.xml file).
- BuyMenuData.xml - Categories and items of buy menus for NPCs, event merchants etc. ("BuyMenu id=" is a dialog id from VillagerMenu.xml file).
- ItemMedalExchange.xml - Price of items purchased for tokens.
- ItemConversion.xml - Items when opening chests (right-click conversion of one item to another).
The price settings for regular merchant's items you can set in ItemTemplate*.xml on the buyPrice and sellPrice attributes.
2. Use this version of novadrop-dc: https://drive.google.com/drive/folde...l9?usp=sharing.
For unpack DC run .bat file, like dec_EUR.bat, for pack DC run the enc_EUR.bat.
If you need to repack TW DC, copy and edit the .bat files and edit by replacing EUR with TW.
Commands needed to repack TW DC 100.02 (used in .bat files):
Unpack DataCenter_Final_TW.dat to DataCenter_Final_TW folder
Pack DataCenter_Final_TW folder to DataCenter_Final_TW_2.datCode:novadrop-dc\novadrop-dc unpack --decryption-key 1C01C904FF76FF06C211187E197B5716 --decryption-iv 396C342C52A0C12D511DD0209F90CA7D DataCenter_Final_TW.dat DataCenter_Final_TW
Also, before packing, you can check your DataCenter_Final_TW folder for errors with the command:Code:novadrop-dc\novadrop-dc pack --encryption-key 1C01C904FF76FF06C211187E197B5716 --encryption-iv 396C342C52A0C12D511DD0209F90CA7D DataCenter_Final_TW DataCenter_Final_TW_2.dat
Code:novadrop-dc\novadrop-dc validate DataCenter_Final_TW
first step is set this file D:\tera\tera-api\config\admin to like this first,,
shopLocales: [
"tw",
"en"
and then change this file D:\tera\tera-api\.env, like this
API_PORTAL_CLIENT_DEFAULT_REGION=TW
ADMIN_PANEL_LOCALE=tw
before u change those files above,,u must create tw.json this file into 3 folders below,,
1,D:\tera\tera-api\src\locales\launcher
2,D:\tera\tera-api\src\locales\admin
3,D:\tera\tera-api\src\locales\shop
and last, open the ADMIN PANEL's categroies,,re-enter the Chinese name inside categroy title...
hopelly,,it can help!
now, I have another problem...
I can't open the Home page inside in-game shop...whats my problem?
every time I clicked the HOME button, the API shows me some errors...
only I click promo code at the top the category...it works and show normal...
https://uploads.tapatalk-cdn.com/202...63fa9ade5a.jpghttps://uploads.tapatalk-cdn.com/202...01010e8de1.jpghttps://uploads.tapatalk-cdn.com/202...44a163642f.jpg
通过我的 NOH-AN00 上的 Tapatalk发言
@fitnessguy0 Probably, at the time of entering the game, you had the Tera API process closed, because of which the value in the lastLoginServer field was not set, which is necessary for the correct display of the server name on the welcome page of the shop. Try to close tera client and enter the game again.
Also, this problem can be if you specified a non-existent/incorrect Server ID in the servers list.
This is important, if your server has an ID of 2800, you must specify 2800 as the ID in the Server List in the Admin Panel.
Delete your server and add it again with ID 2800.
Thanks for hsdn's nice, api just works fine. By the way, anyone has ideas how to make auto selling in the trade, i compare a sold item, and make the same change in the TradeBrokerItems database, but noting happens.
Thank you very much.Everything works fine after using the new API.I will continue to give feedback if I encounter errors.:thumbup1:
I take the liberty to ask.Is it possible to add the ability to buy plural when purchasing certain items?
This becomes troublesome when I need to buy a unit quantity of an item.
I tried to change it to plural using the admin panel, but it didn't work.
This feature can be useful when certain items cannot be purchased in the plural.
Just a personal suggestion. If it's a hassle, please ignore my advice
@Brat05 Maybe this function will be added in future updates. Thanks for your feedback and tests.
- - - Updated - - -
After updating the MS SQL database, you need to completely restart the game server.
Perhaps your task can be solved through WebApp, or you can write a module for TeraToolbox.
I would like to ask how to send props directly other than promo codes?
And when I view the store from the WebApp and click to modify, why does it all become blank? (The same goes for many buttons on the WebApp) thanks
1. I want to send any item directly to the specified player via email (I just remembered that I can use GM commands)
2. Isn't this the store editor? Isn't this the store editor? Or only the function of viewing products?https://i.imgur.com/SsMDk9Q.png
You can use Item Claim system from API Admin Panel for sending items in Boxes to user accounts.
Also you can use WebApp function "World Events -> Register Mail Event" for sending items to users.
This is merchant (Buy Menu List) editor. But it wont contain changes you make to the datasheets on the server (the WebApp have their own datasheets). You can copy your datasheets (buyMenuList etc.) from server Datasheets folder to WebApp AppResource folder. I will note that this editor dont make changes in xml files, it only adds data (items) to MS SQL database that will be added to the merchant NPCs in the game. This is usually used to work with event tokens and temporary NPCs.
May I ask why I fill in ItemTemplate.xml like this, the ArbiterServer and WorldServer on the server will crash. thanks
https://i.imgur.com/1RhaNon.png
I don't know, but I saved it directly, but I think it should not be. I added 215396~215304 in Buylist.xml and it can work and displayhttps://i.imgur.com/aKLPUua.png
- - - Updated - - -
I now get an error when I open the API, and I also get an error when I add a new product in the management interface. What should I do?
https://i.imgur.com/RwSuUqC.png
https://i.imgur.com/fgYA3gn.png
Probably, you have broken the structure of table report_activity of tera api database. The error is due to the fact that the required field reportTime does not contain data. Clear this table, if the error persists, try recreating it using file share\db\00_db_schema.sql.
The error indicates that you are missing data in the required form fields (start time, end time).
What browser are you using? Normal operation of the admin panel is possible only in a modern browser that supports html inputs type "datetime-local".
Thanks After I cleared reportTime, both problems were solved.
(I found that as long as the API is restarted, the webpage will be restarted with no problem.)
- - - Updated - - -
I later found out that ItemTemplate_RUS.xml reported an error, so I found Viptoken codes such as 215296~215305 there, and I can directly modify it from here to make it have a price.
The new problem is that in data_item_strings, 215296~215305 of tw language are filled in string and toolTip but they cannot be displayed in the game.Do you know if there is a solution? Thank you.
Client Patcher has been updated
Now you can specify the client folder that you want to pack (do not use for the first packing).
For example, if you updated the Data Center, you can pack only the DC, it will take 2-3 minutes, just run pack_S1Data.bat.
- - - Updated - - -
Tera API has been updated
Added the function to disable file integrity check when start the game through the launcher. This does not affect the process of updating/installing the game through the launcher. Should fix issues with launching multiple launcher instances and also allow mods to be installed via TMM (CompositePackageMapper.dat file will not be checked).
Other changes:
Installation:Spoiler:
- Download and replace all files of tera-api\src directory with new ones (you can keep locales folder).
- Download and replace all files of tera-api\public\launcher\js directory with new ones.
- Add new parameter to your .env:
Code:# Disable checking of client files when the game start.
# This does not affect the process of receiving client updates.
API_PORTAL_LAUNCHER_DISABLE_CONSISTENCY_CHECK=true
- Restart Tera API.
Tera API has been updated
Changes:
- Fixed a bug with saving the number of items when editing a product/box.
Installation:
- Download and replace all files of the tera-api\src\controllers directory with new ones.
- Restart Tera API.
Tera API has been updated
Changes:
- Fixed issue with definition of the timezone in Admin Panel.
- Fix of a possible issues with passing some variables to the Admin Panel session.
Installation:
- Download and replace all files of the tera-api\src directory with new ones (you can keep locales folder).
- Remove the folder tera-api\sessions (if you're having these issues).
- Restart Tera API.
You've put in some great work into this @hsdn. Last time I tore tera server files apart I was completely stumped due to how much work would need to be done for clean API infrastructure, you really took the pain out on this one.
hopefully the serverlist of this API inside Admin Panel would be supported Domains enter in the future..it good for some dynamic IP Server..
通过我的 NOH-AN00 上的 Tapatalk发言
thanks update launcher!
Can't add KOR REGION?
Thank you!!
but sorry what is this?
https://imgur.com/Y1OMNRu
ur.com/Y1OMNRu
Make sure you have the update installed https://forum.ragezone.com/f797/tera...9/#post9139209