Jump to content

Release: Extended Vending 2.0


Easycore

Recommended Posts


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  


Error	C2039	'jname': is not a member of 'item_data'	map-server	c:\users\user\documents\ra\rathena\src\map\clif.cpp	13779	
Error	C2660	'strcat': function does not take 1 arguments	map-server	c:\users\user\documents\ra\rathena\src\map\clif.cpp	13779	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\skill.cpp	8110	
Error	C2039	'jname': is not a member of 'item_data'	map-server	c:\users\user\documents\ra\rathena\src\map\skill.cpp	17757	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	101	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	335	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	366	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	374	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	400	

latest pull

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   37
  • Joined:  02/25/18
  • Last Seen:  

I confirm this problem compiling for linux server

image.png.4a086a4b46e84a9382fa2bf703abdcbe.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   62
  • Joined:  02/04/19
  • Last Seen:  

Converted item database to YAML (#4335) · rathena/rathena@04cfe17 (github.com)

6 hours ago, CyberDevil said:

I confirm this problem compiling for linux server

image.png.4a086a4b46e84a9382fa2bf703abdcbe.png

 

  • Love 1
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

Quote

 

Got this problem 

strcat(strcat(strcat(strcat(out_msg, "["), item->ename), "] "), message);

 
Error (active)    E0413    no suitable conversion function from "std::string" to "const char *" exists    map-server   
 


 

NVM Already Solve

Edited by simplexjay2
Solve the Problem
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  04/21/16
  • Last Seen:  

On 12/19/2020 at 7:51 AM, M a p l e said:

Hi i'm facing the same problem even thou my item already YAML

any suggestion?

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   3
  • Joined:  08/23/17
  • Last Seen:  

On 2/27/2021 at 4:56 PM, ProjectFaust said:

Hi i'm facing the same problem even thou my item already YAML

any suggestion?

its not yml sucks. they change jname to ename

#define itemdb_ename(n) itemdb_search(n)->ename.c_str()

 

Edited by gamingmagic
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

Error    C2664    'char *strcat(char *,const char *)': cannot convert argument 2 from 'std::string' to 'const char *'    map-server   rathena\src\map\clif.cpp    13789 

mapserver

sv_readdb: cant read db/item_vending.txt

 

anyone can solve this error?
 

Capture.PNG

Edited by kalabasa
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   62
  • Joined:  02/04/19
  • Last Seen:  

5 hours ago, kalabasa said:

Error    C2664    'char *strcat(char *,const char *)': cannot convert argument 2 from 'std::string' to 'const char *'    map-server   rathena\src\map\clif.cpp    13789 

mapserver

sv_readdb: cant read db/item_vending.txt

 

anyone can solve this error?
 

Capture.PNG

You forgot to add this to your SQL

ALTER TABLE `vendings` ADD COLUMN `extended_vending_item` int(10) unsigned NOT NULL DEFAULT '0' AFTER `sit`;

 

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

Not working on latest rAthena.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

10 hours ago, cook1e said:

Not working on latest rAthena.

it's working u just need to edit something

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

7 hours ago, simplexjay2 said:

it's working u just need to edit something

 

Well, RIP... i don't know what to edit

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

what error u have

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

7 hours ago, simplexjay2 said:

what error u have

 

care to check my errors?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   3
  • Joined:  08/23/17
  • Last Seen:  

On 12/18/2020 at 11:17 AM, kalabasa said:


Error	C2039	'jname': is not a member of 'item_data'	map-server	c:\users\user\documents\ra\rathena\src\map\clif.cpp	13779	
Error	C2660	'strcat': function does not take 1 arguments	map-server	c:\users\user\documents\ra\rathena\src\map\clif.cpp	13779	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\skill.cpp	8110	
Error	C2039	'jname': is not a member of 'item_data'	map-server	c:\users\user\documents\ra\rathena\src\map\skill.cpp	17757	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	101	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	335	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	366	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	374	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	400	

latest pull

#define itemdb_ename(n) itemdb_search(n)->ename.c_str()

check that line revise it.

dont use jname

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

On 3/18/2021 at 2:48 PM, kalabasa said:

Error    C2664    'char *strcat(char *,const char *)': cannot convert argument 2 from 'std::string' to 'const char *'    map-server   rathena\src\map\clif.cpp    13789 

mapserver

sv_readdb: cant read db/item_vending.txt

 

anyone can solve this error?
 

Capture.PNG

this is my latest error @gamingmagic

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   3
  • Joined:  08/23/17
  • Last Seen:  

4 minutes ago, kalabasa said:

this is my latest error @gamingmagic

add this to sql

ALTER TABLE `vendings` ADD COLUMN `extended_vending_item` int(10) unsigned NOT NULL DEFAULT '0' AFTER `sit`;
Edited by gamingmagic
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/11/14
  • Last Seen:  

I am also getting the just the apple, it patches smoothly, no errors both in compilation and in console. I'm using 2020-04-01 client. It says 'skill has failed' when I try to vend and choose any apple as currency. Any luck? Clean latest revision of rathena [8f4d1be]

2020-04-01bRagexe.exe

258 Enable Shortcut All Item
3 Chat Flood Remove Limit
8 Custom Window Title
9 Disable 1rag1 type parameters (Recommended)
270 Change AchievementList*.lub path
272 Change Towninfo*.lub path
16 Disable Swear Filter
273 Change PetEvolutionCln*.lub path
274 Change Tipbox*.lub path
275 Change CheckAttendance*.lub path
19 Enable Title Bar Menu
20 Extend Chat Box
277 Change RecommendedQuestInfoList*.lub path
21 Extend Chat Room Box
278 Change PrivateAirplane*.lub path
279 Fix item description bug
23 Enable /who command (Recommended)
24 Fix Camera Angles (Recommended)
283 Change fade in/out delay
28 Increase Headgear ViewID
287 Change character display deletion time from actual date to relative date
31 Increase Zoom Out 75%
289 Fix Homunculus attack AI
290 Hide build info in client (Recommended)
34 Enable /showname (Recommended)
291 Hide packets from peek (Recommended)
36 Read msgstringtable.txt (Recommended)
38 Remove Gravity Ads (Recommended)
39 Remove Gravity Logo (Recommended)
41 Disable Nagle Algorithm (Recommended)
43 Always Use Email for Char Deletion
44 Translate Client (Recommended)
46 Use Normal Guild Brackets (Recommended)
48 Use Plain Text Descriptions (Recommended)
49 Enable Multiple GRFs (Recommended)
50 Skip License Screen
53 Use Ascii on All LangTypes (Recommended)
313 Change MapInfo*.lub path
319 Opening To Service Select
64 @ Bug Fix (Recommended)
65 Load Custom lua file instead of iteminfo*.lub (Recommended)
322 Case-Insensitive Storage Search
328 Enable 44.1 kHz Audio Sampling Frequency
329 Disable ViewPointTable.txt
73 Remove Hourly Announce (Recommended)
331 Disable Blind skills effect
75 Enable Flag Emoticons
334 Remove Hardcoded HTTP IP
335 Enable HTTP Emblem on Ragexe
79 Shared Body Palettes Type2
338 Additional client validation (Recommended)
83 Shared Head Palettes Type2
84 Remove Serial Display (Recommended)
342 Add support for preview button in cash shop
343 Change MerchantStore Url
344 Mvp Drop Item Use Identified Name
88 Allow space in guild name
90 Enable DNS Support (Recommended)
91 Disconnect to Login Window
98 Disable dc_scream.txt
99 Disable ba_frostjoke.txt
101 Skip Friend list Cheat Check
102 Skip Guild Member Cheat Check
213 Disable Help Message on Login (Recommended)
215 Increase Map Quality
222 Show Replay Button
227 Change Walk To Delay.
229 Enable Emblem hover for BG
230 Always load Korea ExternalSettings lua file
231 Remove hardcoded address/port (Recommended)
232 Restore old login packet (Recommended)
242 Disable kRO Site Launch
244 Disable Cheat Defender Game Guard (Recommended)
246 Increase hair style limit in game
253 Skip some hidden menu icon buttons
255 Change Auto Follow Delay
256 Use Default Web Browser In Cashshop

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

9 hours ago, M a p l e said:

I updated the diff to the latest rA, enjoy!

ExtendedVending_rev6.diff 27.68 kB · 5 downloads

thank you for your wonderful time spending to update this

but im getting errors

sv_readdb can't read db/item_vending.txt <- though i already added this manually

also this part

not working

REPLACE INTO `item_db2_re` (`id`,`name_aegis`,`name_english`,`type`,`price_sell`,`weight`) VALUES (30000,'Zeny','Zeny','Etc',10,10);
REPLACE INTO `item_db2_rel` (`id`,`name_aegis`,`name_english`,`type`,`price_sell`,`weight`) VALUES (30001,'Cash','Cash','Etc',10,10);

is this the same adding the custom zeny or cash in item_db.yml?

when i try buying the item wont be bought nothing happens

additional map server error

 

mapserver.PNG

Edited by kalabasa
additional error
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  11/26/19
  • Last Seen:  

Good day to you all!

I recently encountered this error while trying to vend my whitesmith.

After i successfully used my vending skill and open up a merchant vend, when someone tries to open the vend it will immediately disconnect you to the server and all the players online then server crashed.

[Error]: Server recieved crash signal! attempting to save all online characters!

Segmentation fault.

in screenshot below, i tried to disabled extended vending but still the problem insist.

i hope you guys can give some info and ideas to fix this.

Thank you!

error.png

error2.png

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   25
  • Joined:  12/24/14
  • Last Seen:  

MY  BADDD !!
this happend when you try to remove bound item check

2.png.8ecdcd41072efff119b54b3567cfa9aa.png

so please guys !!
DON'T EVER NEVER remove the code
they make everything nice with this code

Edited by mR L
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

56 minutes ago, mR L said:

CAREFULLY, this source is BUG

You can DUPE with this source

2.png.8ecdcd41072efff119b54b3567cfa9aa.png

this is the result when you remove the bound item condition.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

10 hours ago, BeWan said:

this is the result when you remove the bound item condition.

dunno how this happens i've tried many time on my server it doesnt duplicate

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

1 hour ago, AinsLord said:

dunno how this happens i've tried many time on my server it doesnt duplicate

they are using account bound item and normal item.

Edited by BeWan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

On 3/20/2021 at 9:43 AM, kalabasa said:

care to check my errors?

fix already?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...